Page tree
Skip to end of metadata
Go to start of metadata

The root page help:@self could not be found in space Oceans 2.0 API.

Parameters

All of the services, with the exception of the interoperability services, require the use of a method and token. Only the scalardatarawdata and archivefiles services support the responseType optional parameter. 

Parameter

Type

Description

Example

Required

method

string

Each Web Service has 1 or more methods outlined in the documentation. The method name is case sensitive.

method=get

token

string

All Web Services require a token. This can be generated at http://dmas.uvic.ca/Profile. Click on the "Web Services" tab and click "Generate Token"

token=YOUR-TOKEN

Optional

responseType

string

Valid values are "json" and "jsonp". Defaults to "json".

ONLY AVAILABLE for scalardatarawdata and archivefiles services

responseType =jsonp

Request Format

http://dmas.uvic.ca/api/sample?method=methodName&token=[YOUR_TOKEN_HERE]


Examples

If you are planning to use our API with the Python programming language please have a look at open source library pyONC to get some ideas.


  • No labels