Get Specific Attachment From Project
Retrieves a specific protected document (attachment) from a project by its UUID. Optionally filters results by user type.
HTTP Method and URL
GET {{host}}/api/v2/projects/protect/:project-uuid?user_type=ENTERPRISE_API
Authentication Requirements
Requires a valid user token. Pass the token in the user-token variable (typically as a header or environment variable).
Path and Query Parameters
-
project-uuid(string, required): UUID of the project to retrieve the attachment from. Use the{{project-uuid}}variable. -
user_type(string, optional): Filter results by user type. Example:ENTERPRISE_API.
Request Body
None. This is a GET request.
Example Request
GET {{host}}/api/v2/projects/protect/{{project-uuid}}?user_type=ENTERPRISE_API
Headers:
user-token: <your_token>
Example Successful Response
{
"message": "Success",
"data": [
{
"id": 123,
"project_uuid": "string",
"reference_number": "string",
"type": "string",
"category": "string",
"status": "string",
"name": "string",
"file_name": "string",
"project_file_id": 456,
"storage": "string",
"path": "string",
"dna": "string",
"project_file_meta": "string",
"blockchain_id": 789,
"blockchain_uuid": "string",
"event": "string",
"network": "string",
"blockchain_status": "string",
"blockchain_meta": "string",
"txn_hash": "string",
"created_by": 101,
"completed_at": "2023-01-01T00:00:00Z",
"created_at": "2023-01-01T00:00:00Z"
}
]
}
Error Responses
-
401 Unauthorized: Missing or invalid authentication token. -
404 Not Found: Project or attachment not found. -
400 Bad Request: Invalid parameters.
Usage Notes
-
Ensure the
project-uuidvariable is set in your environment. -
The
user_typequery parameter is optional but may affect the results returned. -
The response contains an array of attachment objects with detailed metadata.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
