x-api-key: ********************
x-api-env: ********************
{
"filename": "string",
"file": "http://example.com",
"type": "fs.mostwanted.io",
"checksum": "string",
"signature": "string",
"bytes": 0,
"thumbnail": "http://example.com",
"thumbnail_type": "fs.mostwanted.io",
"thumbnail_checksum": "string",
"thumbnail_signature": "string",
"thumbnail_bytes": 0,
"collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
curl --location --request POST 'https://api.vplan.com/v1/collection//attachment' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--header 'x-api-env;' \
--data-raw '{
"filename": "string",
"file": "http://example.com",
"type": "fs.mostwanted.io",
"checksum": "string",
"signature": "string",
"bytes": 0,
"thumbnail": "http://example.com",
"thumbnail_type": "fs.mostwanted.io",
"thumbnail_checksum": "string",
"thumbnail_signature": "string",
"thumbnail_bytes": 0,
"collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}'
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"filename": "string",
"file": "http://example.com",
"type": "fs.mostwanted.io",
"checksum": "string",
"signature": "string",
"bytes": 0,
"thumbnail": "http://example.com",
"thumbnail_type": "fs.mostwanted.io",
"thumbnail_checksum": "string",
"thumbnail_signature": "string",
"thumbnail_bytes": 0,
"collection_id": "4bdef85c-3f50-4006-a713-2350da665f80",
"user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
"external_ref": "fb1033a2ed70",
"created_at": "2024-04-11T10:22:15Z",
"updated_at": "2024-04-11T10:22:15Z"
}