Retrieve attachments for the backlog workitem with ID
GET
/api/assetsThe GET /api/assets?artifactId=1087&usedAt=epic endpoint retrieves all attachments associated with the epic identified by the ID 1087.
Request
Query Params
artifactId
string
required
Example:
1087
usedAt
enum<string>
required
Allowed values:
epicfeatureuserstory
Example:
epic
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
required
data
array [object {14}]
required
id
integer
optional
path
string
optional
size
string
optional
sizeType
string
optional
userId
integer
optional
subscriptionId
integer
optional
initiativeId
integer
optional
usedAt
string
optional
description
null
optional
name
string
optional
artifactId
integer
optional
status
string
optional
createdAt
string
optional
updatedAt
string
optional
Example
{
"success": true,
"data": [
{
"id": 3242,
"path": "1346/1116/16802/Screenshot 2024-06-29 at 2.10.49â¯AM.png",
"size": "0.00",
"sizeType": "kb",
"userId": 17355,
"subscriptionId": 1346,
"initiativeId": 1116,
"usedAt": "epic",
"description": null,
"name": "Screenshot 2024-06-29 at 2.10.49â¯AM.png",
"artifactId": 1087,
"status": "active",
"createdAt": "2024-07-11T11:55:31.000Z",
"updatedAt": "2024-07-11T11:55:31.000Z"
}
]
}
Modified at 3 months ago