Home Page > Integration > REST API > AspectRatios

AspectRatios

AspectRatios - /REST/1/AspectRatios/:id

This endpoint is used for manipulating the AspectRatio resource. Objects are always returned in a JSON format within an array. Empty results return an empty array.

 

Object

The AspectRatio resource takes on the following JSON object:

[
    {
      "code" : "<string>",
      "id" : "<int>",
      "label" : "<string>"
    }
]

GET

This verb is used for retrieving resources, it is subject to the parameters mentioned in the overview and all fields mentioned above are searchable.


Examples

OpenAsset C# REST Wrapper

Additional general examples using the OpenAsset C-sharp REST Wrapper are found below. The Wrapper itself can be found at the following github location: https://github.com/axomic/openasset-rest-cs

 

 

Ruby

Ruby code example with Albums Noun.

  //Get a collection of Albums from the REST API. 
 //The Rest Library will serialize the results automatically.

require 'openasset-rest-client'

client = OpenAsset::RestClient.new("url","username","password")

--Get aspect ratios
aspect_ratios = client.get_aspect_ratios

 

 

Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.