Skip to Content
Docs

Get file by id

GET
/files/{id}

Authorization

jwt
headerAuthorizationBearer <JWT>

Path Parameters

id*string

Response Body

application/json
  1. response
id*string
filename*string
meta*
_metaData*
Example Request
curl -X GET 'https://files.prod-001.prod.contextual.io/api/v1/files/string'
Example Response
{  "id": "string",  "filename": "string",  "meta": {    "path": "string",    "contentType": "string",    "contentMD5": "string",    "size": 0,    "property1": null,    "property2": null  },  "_metaData": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "ref": {      "namespace": "native-object",      "typeId": "string",      "instanceId": "string"    }  }}