Skip to main content
GET
/
v1
/
app
/
commands
/
delivery
/
{delivery_id}
/
files
Delivery Files
curl --request GET \
  --url https://api-dev.narrative.io/v1/app/commands/delivery/{delivery_id}/files \
  --header 'Authorization: Bearer <token>'
[
  {
    "company_id": 1,
    "file": "part-00001-cefc489b-7d3b-4409-8632-19122002bbd3-c000.json",
    "size": 8022466827,
    "subscription_id": "31ebdb17-6799-4447-a99c-6e3aa8da3237",
    "transaction_batch_id": "f6eeafa3-d599-4469-825c-bf0da93f68af",
    "timestamp": "2022-04-20T23:37:39Z"
  },
  {
    "company_id": 1,
    "file": "part-00002-cefc489b-7d3b-4409-8632-19122002bbd3-c000.json",
    "size": 8022349030,
    "subscription_id": "31ebdb17-6799-4447-a99c-6e3aa8da3237",
    "transaction_batch_id": "f6eeafa3-d599-4469-825c-bf0da93f68af",
    "timestamp": "2022-04-20T23:36:52Z"
  }
]

Path Parameters

delivery_id
integer
required

Unique identifier for an delivery record.

Response

200 - application/json

OK

company_id
integer
file
string
size
integer

File size in bytes

subscription_id
string<uuid>
transaction_batch_id
string<uuid>
timestamp
string

ISO-8601 timestamp indicating when the file was created

Example:
[
{
"company_id": 1,
"file": "part-00001-cefc489b-7d3b-4409-8632-19122002bbd3-c000.json",
"size": 8022466827,
"subscription_id": "31ebdb17-6799-4447-a99c-6e3aa8da3237",
"transaction_batch_id": "f6eeafa3-d599-4469-825c-bf0da93f68af",
"timestamp": "2022-04-20T23:37:39Z"
},
{
"company_id": 1,
"file": "part-00002-cefc489b-7d3b-4409-8632-19122002bbd3-c000.json",
"size": 8022349030,
"subscription_id": "31ebdb17-6799-4447-a99c-6e3aa8da3237",
"transaction_batch_id": "f6eeafa3-d599-4469-825c-bf0da93f68af",
"timestamp": "2022-04-20T23:36:52Z"
}
]