Asset Service API icon

Asset Service API

(0 reviews)

home

The asset service is a CDN like service which is used to get images and files. For example, the satellite and radar images are stored in the asset service.

Get Asset

When calls are made to observations for images, the full URIs to the images are returned as links e.g. /assets/au/radars/national/128k/20170316T033800Z.png for a radar image.

Applications should follow these URIs to rather the polling the asset service directly for new data or hard coding links to base map files for example.

Description: This call gets an image from the assets service.

Browsing of resources is not allowed. If the full path and filename is not included an error will be returned.

API Call:

GET /{assetPath}

Parameters:

ParameterExampleDescription
assetPath/assets/au/radar/IDR00004/aus/20170615T013500Z.pngThe URL location where the image resides.

This parameter is Mandatory.

Example 1:

GET /assets/au/radar/IDR00004/aus/20170615T013500Z.png

This example would return a radar image for the au national area.

API Response:

The image file will be returned.

Example 2:

GET /assets/au/satellites/himawari/national/IRA20170121T170000Z.png

This example would return a satellite image for the national area.

API Response:

The image file will be returned.

Example 3:

GET /assets/au/basemaps/radars/IDR00004/aus/plain.png

This example would return a base map of Australia in the right colours for radar images.

API Response:

The image file will be returned.


Reviews