distribution:query
Description: Retrieve a single distribution by ID.
Request Schema
{
"payload": {
"type": "distribution:query",
"id": "DISTRIBUTION_ID_TO_FIND"
},
"signature": "payload_ed25519_hex_signature",
"source_public_key": "your_client_public_key"
}
Request Attributes
Find attribute:
-
payload.id- Integer - The distribution’s internal Arkipel ID
Response Schema
{
"source_public_key": "community_public_key",
"source_site": {
"protocol": "http",
"fqdn": "arkipel.localhost:3000"
},
"created_at": "2025-11-13T20:52:49Z",
"signature": "8b6392d5550605bd6ccddf9c21ebec470de4b44e4b4deb746076e37ab61c5346e07e7c7c7cebb5bbee41cdd92a476bcd3f02373d146ec165b31c31fc31c9ce0d",
"payload": {
"resource": {
"id": 1,
"order": {
"invoice_number": "INV-2026-001",
"invoice_date": "2026-01-29",
...
},
...
},
"type": "distribution:query"
}
}
Response Attributes
The resource object contains the full distribution data including:
-
order.invoice_number- String - The invoice number associated with this distribution -
order.invoice_date- String (ISO8601) - The invoice date associated with this distribution