Skip to main content
GET
Decode a GS1-compressed Digital Link path segment

Query Parameters

value
string
required

The compressed Digital Link path segment (GS1 base64 alphabet), e.g. CxFKk4awWMhZyepCypCI--g.

Required string length: 1 - 4096

Response

200 - application/json

OK

Decoded contents of a GS1-compressed Digital Link path segment.

value
string
required

The input segment, echoed back unchanged.

is_valid
boolean
required

True when the segment decoded to a well-formed GS1 AI set.

error
string | null

Why decoding failed, or null on success.

gs1_ais
Gs1 Ais · object

Decoded {ai_code: value} pairs in canonical GS1 order (identifier, qualifiers, then attributes).

other
Other · object

Any decoded non-GS1 query-string parameters carried in the compressed payload.

uncompressed_path
string | null

The equivalent uncompressed, root-relative Digital Link path, or null when decoding failed.