Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

In this section, we will cover public API functions.

This document is still work in progress!

Table of contents

Entry point

<instance-url>/api/<endpoint>
example:
https://trancend.dev/api/schedule

Logged in calls

For logged in calls, user must obtain its auth token from the Account API functions (login endpoint)

All logged in calls are made having the header X-Auth-Token set with the auth token obtained


API Libraries

You can use the following javascript helpers to integrate your own frontend with the Project Trancend API.

All boilerplates can be found in the base repository: https://github.com/GlitchMedia/Project-Trancend-API-Boilerplates


Privilege / moduleURLStatusLast updatedExample boilerplate
Member / base module

<instance-url>/helpers/user.api.js

example: https://trancend.dev/helpers/user.api.js

LIVE

2018-06-26https://github.com/GlitchMedia/Project-Trancend-API-Boilerplates/blob/master/member.html
User / survey module

<instance-url>/helpers/survey.api.js

example: https://trancend.dev/helpers/survey.api.js

LIVE

2018-06-26https://github.com/GlitchMedia/Project-Trancend-API-Boilerplates/blob/master/survey.html
Account module

<instance-url>/helpers/account.api.js

example: https://trancend.dev/helpers/account.api.js

LIVE

2018-07-03https://github.com/GlitchMedia/Project-Trancend-API-Boilerplates/blob/master/account.html
  • No labels