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

Fix batch referencing JSON sample code

    XMLWordPrintable

    Details

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

      Description

      Given code when referencing a batch upload in the resources endpoint looks like this:

      {"entity-type":"document","repository":"default",
                              "uid":"73083c4b-9f06-43ef-b26d-7b05bc845473",...,
                              "properties":{
                              "dc:title":"Headquarters",...
                              "file:content":
                              {"upload-batch":"batch-1404143791155-30210","upload-fileId":"0"}
                              ,...}
      

      It is missing a closing bracket sign.
      Another improvement could be to remove the "..." in order to give proper JSON people could copy/paste and use directly.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: