Version: 1.0.0
Category: Query
Entity: Allocation
Base URL: http://localhost:1317
Base Path: /structs
| Method | Path | Description | Auth | Paginated |
|---|---|---|---|---|
| GET | /structs/allocation/{id} |
Get allocation by ID | No | No |
| GET | /structs/allocation |
List all allocations | No | Yes |
| GET | /structs/allocation_by_source/{sourceId} |
Get allocations by source | No | No |
| GET | /structs/allocation_by_destination/{destinationId} |
Get allocations by destination | No | No |
GET /structs/allocation/{id}
Returns a single allocation by its ID.
| Name | Type | Required | Format | Description |
|---|---|---|---|---|
id |
string | Yes | allocation-id | Allocation identifier |
application/jsonschemas/entities/allocation.mdGET /structs/allocation
Returns a paginated list of all allocations.
application/jsonschemas/entities/allocation.md (array)GET /structs/allocation_by_source/{sourceId}
Returns all allocations originating from a specific source.
| Name | Type | Required | Format | Description |
|---|---|---|---|---|
sourceId |
string | Yes | - | Source identifier |
application/jsonschemas/entities/allocation.md (array)GET /structs/allocation_by_destination/{destinationId}
Returns all allocations directed to a specific destination.
| Name | Type | Required | Format | Description |
|---|---|---|---|---|
destinationId |
string | Yes | - | Destination identifier |
application/jsonschemas/entities/allocation.md (array)