Skip to main content

Retrieve a unit card

Service endpoint are subject to change

Method Description#

Return the requested asset providing the unique identifier of the asset.

HTTP Request#

GET https://api.olyn.com/v1/unit-cards/<unit_card_id>

URL Parameters#

unit_card_id required#

String

The id of the unit card to be retrieved. This must be in string format compliant with ObjectId format.

note

An ObjectId is a 12-byte unique identifier consisting of:

A 4-byte value representing the seconds since the Unix epoch, a 5-byte random value, a 3-byte counter, starting with a random value.


Body Parameters#

none

Sample Code#

url = "http://api.olyn.com/v1/unit-cards/617d65b93d30a7b2263fc50f"
response = requests.request("GET", url, headers=headers)
print(response.text)

Returns#

Returns a Unit Card object.