Hướng dẫn AgentFlow

get_attachment

GET/attachments/{attachment_id}

Through an installed app, a file is told of only when the app may read every owner it has and it has one. A file a run produced or holds, and a file nobody owns, answer 404.

AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

attachment_id*string

Attachment id

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/attachments/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "byte_size": 0,  "content_type": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "original_filename": "string",  "uploaded_at": "2019-08-24T14:15:22Z"}