/api/media/file

Lists all files available to the user.

Resource Information

Sample Request / Response

Using curl:

curl --location --request GET 'https://service.belladati.com/api/media/file' \
--header 'Authorization: OAuth oauth_consumer_key="myConsumer",oauth_token="8bc075ed67d",oauth_signature_method="PLAINTEXT",oauth_timestamp="1629711580",oauth_nonce="randomString",oauth_version="1.0",oauth_signature="mySignature"'

The JSON format response:

{
  "images": [
    {
      "id": "16",
      "name": "Capture",
      "filename": "file2.PNG",
      "createdBy": "john.doe@belladati.com",
      "createdWhen": "Thu, 22 Apr 2021 14:47:36 GMT",
      "contentType": "image/png"
    },
    {
      "id": "41",
      "name": "color_file",
      "filename": "file1.svg",
      "createdBy": "john.doe@belladati.com",
      "createdWhen": "Fri, 07 May 2021 12:40:12 GMT",
      "contentType": "image/svg+xml"
    }
  ]
}


  • No labels