Psoda API - /rest_api/v1/objects.json

This URI returns the details of the API user.

Header: API-Key (mandatory)

You must specify an API-Key to access any data from Psoda. You can find your API-Key by logging into Psoda with the user account you want to use for the API, navigate to "My stuff" and then click on the "API Code" button in the toolbar.

Header: If-Modified-Since (optional)

Use this header if you want to retrieve the object details only if it has been modified since the specified date. The date is in a text format, e.g. 15 Nov 1994 12:45:26 GMT

Header: Accept-Language (optional)

Use this header if you want to change the language for the user. The following languages are currently supported:

Parameter: lang (optional)

Alternatively you can use this parameter to set the language.

Format

The extention on your path specifies the required format. For example https://www.psoda.com/rest_api/v1/objects/{object id}.json will returns the details of the object identified by {object id} in JSON format. If your extension is .html then a help page is returned instead.

Only .json and .html is currently supported. If no extension is specificied then the help page is returned as well.

Parameter: fields (optional)

You can use this parameter to limit which attributes are returned from the API call. You can specify multiple fields with commas separating them. If the field does not exist for the item then it will not be included in the result.

Other URLs

To retrieve the details of a specific object you can use https://www.psoda.com/rest_api/v1/objects/{obj_id}.json

To retrieve a Psoda string by it ID and a particular language you can use https://www.psoda.com/rest_api/v1/strings.json

To retrieve the time on the Psoda servers you can use https://www.psoda.com/rest_api/v1/time.json