URLs
The website supports several URL formats for displaying archived images or images from individual callsigns:
Query string parameters:
| Parameter | Description | Default |
|---|---|---|
| tz | Display and filter dates in this timezone. (Eg.: tz=Europe/London) | UTC |
Notes
Dates
The API only uses UTC time, and returns dates in an ISO-8601 format. When sending a date any of the following formats are valid:
/api/v0/packets
POST
Submit one or many SSDV packets to the live page. The server will return with the ID of the image the packets where assigned to, or an error on failure.
POST Body (Single Packet)
Response
Returns the ID of the image the packet was assigned to.
POST Body (Multiple Packets)
Response
Returns the ID of each image the submitted packets where assigned to.
/api/v0/images
GET
Fetch information for images.
| Parameter | Description | Default |
|---|---|---|
| callsign | Return images with this callsign | |
| id | Returns images with this image ID | |
| from | Return images created on or after this time (Eg.: 2015-10-23T00:00:00Z) | |
| until | Return images created up to but not including this time | |
| last_id | Return images updated since this packet ID | |
| include_packets | Include details on each packet received | false |
| missing_packets | Include a list of known missing packets | false |
| sort | Set the order of the results (asc / desc) | asc |
| limit | Limit the number of images returned |
Response
Returns an array of images matched by the parameters. See below for an example of the JSON returned.
/api/v0/images/:id
| Option | Description |
|---|---|
| :id | The ID of the image being queried |
GET
Fetch information for an individual image.
| Parameter | Description | Default |
|---|---|---|
| include_packets | Include details on each packet received | false |
| missing_packets | Include a list of known missing packets | false |
Response
/latest.php
GET
| Parameter | Description | Default |
|---|---|---|
| callsign | Return images with this callsign |
Response
Returns a 302 redirect to the latest image for the specified callsign, or a 404 error if no matching image was found.