Source Files
Add Asset Reference
Required scopes: project.source.file (Read and Write).
Upload a reference file for an asset
post/projects/{projectId}/files/{fileId}/references
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project Identifier. Get via List Projects
fileIdinteger required
File Identifier. Get via List Files
Request body
Example request
{
"storageId": 67890,
"name": "design_reference.png"
}Response
Asset reference was successfully created
Example response
{
"data": {
"id": 123,
"name": "design_reference.png",
"url": "https://example.com/reference/design_reference.png",
"user": {
"id": 1,
"username": "john_doe",
"fullName": "John Smith"
},
"createdAt": "2019-09-20T11:05:24+00:00",
"mimeType": "image/png"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.