DatoCMS REST API client v0.6.2 DatoCMS.RESTClient.UploadRequest View Source
Link to this section Summary
Functions
Calls POST /upload-requests
Link to this section Functions
Calls POST /upload-requests
params
is JSON encoded and passed as the request body.
params Schema
{"additionalProperties":false,"properties":{"data":{"additionalProperties":false,"properties":{"attributes":{"description":"JSON API attributes","properties":{"filename":{"description":"The original file name","example":"image.png","type":"string"}},"type":"object"},"type":{"description":"JSON API type field","example":"upload_request","pattern":"^upload_request$","type":["string"]}},"required":["type","attributes"],"type":"object"}},"required":["data"],"type":"object"}