Update File
HTTP Request
PATCHhttps://staging.api-gw.propdata.net/gallery/api/v1/files/{id}/
Example Response
{"id": 0,"site": 0,"file_size": 0,"content_type": "string","created": "2024-04-19T08:48:36.296Z","modified": "2024-04-19T08:48:36.296Z","deleted": "2024-04-19T08:48:36.296Z","uuid": "770bba28-9f80-4d40-9c51-6e022364af91","source_ref": "string","file": "http://www.example.com","accepted": false,"caption": "string","ordinal": -2147483648,"file_type": "string","private": false,"model": "string","tagged_date": "string"}
Name | Description |
---|---|
id required | integer id of Record |
Name | Description |
---|---|
id | integer ID |
site | integer Site |
file_size | integer File size |
content_type | stringnon-empty Content type |
created | string Created |
modified | string Modified |
deleted nullable | string Deleted |
uuid | string Uuid |
source_ref nullable | string<= 100 characters Source ref |
file | string File |
accepted | boolean Accepted |
caption nullable | string<= 200 characters Caption |
ordinal nullable | integer Ordinal |
file_type required | string File typeChoices: fileimage |
private | boolean Private |
model required | string ModelChoices: agentsapplicationsarticlesbranchbranchescanvassingcommentscommercialfranchisesholidaymapsprojectsreportsbrochuresresidentialsyndicationsettingsdocumentstasksreferralsteamspagesnotesthemesettingslocationprofilesundefined |
tagged_date nullable | string Tagged date |
Responses
200
400 Bad request body
403 You do not have permission to perform this action
404 Not found
500 Internal server error
503 This website is not active