Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-98

Wrap query results into a result object

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Neutral Neutral
    • 2.0
    • None
    • None
    • None
    • Saigon 118, Saigon 119
    • 5

      Follow up MGNLREST-96:
      Need to have a metadata for results in listing endpoint. Eg:

      public class RestResults<T extend Iterator> {
          private final T results;
          private final String link;
          private final Integer offset;
          private final Integer limit;
          private final Integer total;
      }
      

        Acceptance criteria

              dai.ha Dai Ha
              sang.ngo Sang Ngo Huu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR

                    Estimated:
                    Original Estimate - 1d
                    1d
                    Remaining:
                    Time Spent - 3h Remaining Estimate - 5h
                    5h
                    Logged:
                    Time Spent - 3h Remaining Estimate - 5h
                    3h