Series
Fetch a series
Series
Fetch a series
Fetch an existing series given its UUID.
GET
/sequence/v1/series/{id}
Bearer*
curl --request GET \
--url https://api.invopop.com/sequence/v1/series/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2023-01-25T08:04:14.245Z",
"updated_at": "2023-01-25T08:04:14.245Z",
"name": "string",
"description": "string",
"code": "string",
"prefix": "string",
"padding": 0,
"suffix": "string",
"last_index": 0,
"last_entry_id": "string",
"sigs": ["string"]
}
Path Parameters
idrequired
string
The UUID of the series to fetch.
Response
code
string
A code that can be used to identify the series.
created_at
string
The date and time the series was created.
description
string
A description of the series.
id
string
The UUID (any version) of the series.
last_entry_id
string
The ID of the last entry in the series.
last_index
integer
The last index used in the series.
name
string
The name of the series.
padding
integer
The number of 0s to pad the generated codes with.
prefix
string
A prefix that will be prepended to all entries.
suffix
string
A suffix that will be appended to all entries.
updated_at
string
The date and time the series was last updated.
curl --request GET \
--url https://api.invopop.com/sequence/v1/series/{id} \
--header 'Authorization: Bearer <token>'
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2023-01-25T08:04:14.245Z",
"updated_at": "2023-01-25T08:04:14.245Z",
"name": "string",
"description": "string",
"code": "string",
"prefix": "string",
"padding": 0,
"suffix": "string",
"last_index": 0,
"last_entry_id": "string",
"sigs": ["string"]
}