curl -X PUT 'https://api-staging.pixwel.com/api/shares/{id}' \
-H 'Authorization: Basic <credentials>' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"_id": "507f1f77bcf86cd799439011",
"from": {
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"emailNormal": "user@example.com",
"$links": {
"self": "//example.com/path/to/object"
}
},
"to": [
{
"_id": "507f1f77bcf86cd799439011",
"name": "string",
"emailNormal": "user@example.com",
"$links": {
"self": "//example.com/path/to/object"
}
}
],
"groups": null,
"assets": [
{
"_id": "507f1f77bcf86cd799439011",
"project": "507f1f77bcf86cd799439011",
"studio": "507f1f77bcf86cd799439011",
"name": "string",
"slug": "string",
"type": "string",
"length": 0,
"thumbnail": "507f1f77bcf86cd799439011",
"notes": "string",
"created": 0,
"mediaType": "string",
"creative": true,
"$links": {
"self": "//example.com/path/to/object",
"project": "//example.com/path/to/object",
"studio": "//example.com/path/to/object",
"type": "//example.com/path/to/object",
"thumbnail": "//example.com/path/to/object"
},
"$permissions": {
"canAutosub": true,
"sources": {
"requests": {
"languages": null,
"countries": null
},
"autosubs": {
"languages": null,
"countries": null
}
},
"access": [
"string"
],
"tags": {
"online": true,
"broadcast": true,
"dcp": true,
"cmyk": true,
"rgb": true
},
"ingest": [
"string"
]
},
"$feedback": {
"share": null,
"vote": null,
"summary": null
}
}
],
"assetsCount": 0,
"assetCategory": "string",
"projectNames": [
"string"
],
"studios": [
"507f1f77bcf86cd799439011"
],
"tags": [
[
"string"
]
],
"urls": {
"playlist": "https://example.com/path/to/object",
"invite": "https://example.com/path/to/object"
},
"approved": true,
"feedback": {
"enabled": true
},
"created": 0,
"questions": null,
"$links": {
"self": "//example.com/path/to/object",
"from": "//example.com/path/to/object"
},
"permissions": [
{
"_id": "507f1f77bcf86cd799439011",
"sources": {
"download": {
"ov": true,
"countries": [
"string"
],
"languages": [
"string"
]
},
"manageWorkRequests": {
"groups": null
},
"previews": {
"ov": true,
"countries": null,
"languages": [
"string"
]
},
"requests": {
"ov": true,
"countries": null,
"languages": null
},
"social": {
"ov": true,
"countries": null,
"languages": null
},
"adminWorkRequests": {
"groups": null
}
},
"approved": true,
"project": "507f1f77bcf86cd799439011",
"assets": [
"507f1f77bcf86cd799439011"
],
"tags": [
null
],
"types": null,
"access": {
"sharing": true,
"push": true,
"download": true,
"requests": true,
"notes": true,
"previews": null,
"manageWorkRequsts": true,
"projectAdminView": true,
"projectAdminUpdate": true,
"projectAdminEmbargos": true,
"workRequestReport": true,
"downloadReport": true,
"exceptionReport": true,
"groupSpendingReport": true,
"adminWorkRequests": true,
"shareVotingView": true,
"manageWorkRequests": true,
"ingest": true
},
"user": "507f1f77bcf86cd799439011",
"share": "507f1f77bcf86cd799439011",
"$links": {
"self": "//example.com/path/to/object"
}
}
],
"notes": "string"
}'