Resources sequence

Introduction

Resources may be uploaded and retrieved by either POS or Apps. An App and POS are restricted to the resources they have access to, based on the existing policies around App and Venue subscriptions. That is, an App is only able to retrieve resources from a location they have subscribed to, and vice-versa, a location is only able to access resources for Apps that have subscribed to them.

The following links describe each of the available endpoints for both Apps and POS:

Basic Workflow

The standard workflow for resources is for one party to upload resources, first registering the resource in Doshii and then uploading the binary content for that resource using the URI supplied in the previous API call.

Once a resource has been uploaded, other parties can access that resource using the various GET endpoints. The JSON payload will contain a resource property that holds the URI for retrieving the binary content. Based on the type of resource, this URI may be external to Doshii.

resources-workflow.png