v1

latestOpenAPI 3.0.0Apache 2.02026-07-267057121.5 KB

Create a new entry in a given series idempotently with the given UUID (any version).

put/sequence/v1/series/{series_id}/entries/{id}

Path parameters

series_idstring required

UUID of the series to create the entry in

UUID of the series to create the entry in

idstring required

The UUID (any version) of the entry to create.

Example:a8904315-3d16-4a95-91c1-30d6cdde553e

The UUID (any version) of the entry to create.

Request body

metaobject

A set of key/value pairs that can be used to store additional information about the entry.

sigstring

JSON Web Signature of the key properties used to create the entry.

Example request

{
  "meta": {
    "name": "John Doe"
  }
}

Response

OK

codestring

The complete code for the entry, including prefix and suffix.

created_atstring

The date and time the entry was created.

idstring

The UUID (any version) of the entry.

metaobject

A set of key/value pairs that can be used to store additional information about the entry.

previous_idstring

The UUID of the previous entry in the series.

series_idstring

The UUID of the series the entry belongs to.

sigsstring[]

Set of JSON Web Signatures validating the information contained in the entry.

updated_atstring

The date and time the entry was last updated.

Example response

{
  "code": "INV-00001-F1",
  "created_at": "2020-10-01T00:00:00Z",
  "id": "a8904315-3d16-4a95-91c1-30d6cdde553e",
  "meta": {
    "name": "John Doe"
  },
  "previous_id": "a8904315-3d16-4a95-91c1-30d6cdde553e",
  "series_id": "a8904315-3d16-4a95-91c1-30d6cdde553e",
  "updated_at": "2020-10-01T00:00:00Z"
}