Get external files info

get

/api/field-service/core/v1/activities/{activityId}/externalFilesInfo/{propertyLabel}

This operation returns information about external files from the specified activity property. The property should have the type 'Attachments' configured with the 'OCI Object Storage' storage type.

Request

Path Parameters
Header Parameters
  • The request must contain the Accept header to retrieve the file contents. The header must have either of the following:

    • The actual content type (for example, application/pdf for pdf documents).
    • The special value 'application/octet-stream', when you don't know the content type.

    If the request doesn't have the Accept header, the response contains only the file metadata in JSON format.

Back to Top

Response

Supported Media Types

200 Response

This section describes the 200 status response for this operation.
Body ()
Root Schema : External Files Info
Type: object
Title: External Files Info
The collection of information about external files stored for the specified inventory property.
Show Source
Nested Schema : Items
Type: array
Title: Items
The collection of external file information objects.
Show Source
Nested Schema : External File Info Item
Type: object
Title: External File Info Item
Information about a file stored in OCI Object Storage.
Show Source
  • Title: Content Type
    The media type of the file (for example 'image/jpeg'). This is used by the application to properly display the file in user interface.
  • Title: File Name
    File name.
  • Title: File Size
    Default Value: 999999
    The size of the file in bytes. It is used only to show the size of the file in UI. Default: 999999 (unknown).
  • Title: URI
    Stored in Object Storage file uri ('https:///path-to-file'). This is used by the application to access the file content.

Default Response

This section describes the default error response for this operation.
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top