GET {repositoryId}/Data/{id}/Attachment/List
Gets the list of all the attachments for the specified resource.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
| id |
The ID of the Data resource. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of references to the resource's attachments.
Collection of NamedReference| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Url | string |
None. |
|
| Type | Types |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Name": "sample string 1",
"Url": "sample string 2",
"Type": 0
},
{
"Name": "sample string 1",
"Url": "sample string 2",
"Type": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfNamedReference xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema">
<NamedReference>
<Type>Undefined</Type>
<Url>sample string 2</Url>
<Name>sample string 1</Name>
</NamedReference>
<NamedReference>
<Type>Undefined</Type>
<Url>sample string 2</Url>
<Name>sample string 1</Name>
</NamedReference>
</ArrayOfNamedReference>