Skip to content

StraaS API Overview

stackng edited this page Jun 2, 2017 · 11 revisions

This guide provides the general information about StraaS APIs and how to integrate with StraaS service.

StraaS API Structure

StraaS API is composed of the following structure:

https://app.straas.net/api/<API_VERSION>/<API_TYPE>/<RESOURCE>

API type indicates different roles and privileges with app and member. The role of user of app API represents account which may be an enterprise or an organization and the role of user of member API represents account's members (i.e., the end user in your member system.)

Generally speaking, you should use app APIs to interact with the StraaS service in the server side and use member APIs to access StraaS service in the client side.

For example, you can access a video list with the following app API.

curl -X GET --header 'Accept: application/json' \
--header 'Authorization: Bearer <APP_TOKEN>' \
'https://app.straas.net/api/v1/app/videos?page=1'

For the client side, you can integrate with the SDK instead of the member APIs. Please refer to the documents of Web SDK, Android SDK and iOS SDK.

More API details are described in StraaS APIs Documentation.

Integrate with StraaS Service

Clone this wiki locally