Uploaded image for project: 'Playground'
  1. Playground
  2. PLAY-128

Display full response on Search Endpoint

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10
    • Component/s: Resources Endpoint

      Description

      Steps to reproduce:

      Given nuxeo-showcase-content is installed:

      • Navigate to localhost:8080/nuxeo/playground and go to Resources Endpoints.
      • Under the Path Endpoint, select GET /api/v1/search/lang/{queryLanguage}/execute.
      • Fill in the following fields:
        • queryLanguage => NXQL
        • query => Select * from Note
      • Click on RUN.
        => Response is:
        {
          "entity-type": "documents",
          "isPaginable": true,
          "resultsCount": 2,
          "pageSize": 0,
          "maxPageSize": 1000,
          "resultsCountLimit": 10000,
          "currentPageSize": 2,
          "currentPageIndex": 0,
          "currentPageOffset": 0,
          "numberOfPages": 1,
          "isPreviousPageAvailable": false,
          "isNextPageAvailable": false,
          "isLastPageAvailable": false,
          "isSortable": true,
          "hasError": false,
          "errorMessage": null,
          "totalSize": 2,
          "pageIndex": 0,
          "pageCount": 1,
          "entries": [
            {
              "entity-type": "document",
              "repository": "default",
              "uid": "145a5917-46c4-4507-9bc2-1a9146f4d2cb",
              "path": "/default-domain/workspaces/Sample Content/Notes/Lorem ipsum note",
              "type": "Note",
              "state": "project",
              "parentRef": "d8065d88-db4a-4620-8903-c0cf209140fd",
              "isCheckedOut": false,
              "isVersion": false,
              "isProxy": false,
              "changeToken": "4-1",
              "isTrashed": false,
              "title": "New Title",
              "lastModified": "2018-11-22T11:21:06.812Z",
              "properties": {
                "note:note": "
        

      The response is truncated and there is no way to see the rest of it.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 30 minutes
                  30m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.