Back to top
Vastuu Group

Context

Version: 1.0
Last updated: July 22, 2020
|
Reading time: 6 min

Overview


The Context API provides means to list available JSON-LD contexts of the Platform of Trust.

The contexts define the semantic meaning of the keys in the responses from the APIs. When creating a new identity, choose which type of identity to create by choosing the correct context. The context will then define the attributes the identity can have.

Capabilities:

  • Aids to choose the correct context in determining identity type while creating a new identity.
  • Aids to define attributes an identity can have.
  • Aids to list all supported contexts.


GET all supported contexts in the Platform

curl -i -X GET \
 "https://api-sandbox.oftrust.net/contexts/v1/"

NOTE: checkout doc.oftrust.net to see more requests to the Context API and code samples in Java, Python and JavaScript.


API Specification

Download Open API Specification (OAS) for Context here

Download RESTful API Modeling Language (RAML) specifications for Context here

API Documentation

Checkout API endpoint, HTTP calls and associated parameters in details at docs.oftrust.net

Developer Guides

Read on how to get your Bearer Token to start accessing and using Platform of Trust APIs in this Guide

Read more about identities and Links in our Identities and Links guide

Read Identity and Data Discovery guide to learn discovering data products in an identity network.

Read more about contexts while creating a translator in our Setup Translator guide

Read more about contexts while using the standard data model in Platform of Trust in our How to use Standard Data Models guide

Checkout current Ontologies and Contexts in Platform of Trust here.

Ontology Viewer

Check out our Ontology Viewer to know more about identities and contexts in Platform of trust

Profiles in Other Platforms

ProgrammableWeb

Questions and Feedback

Have a question on Context API? Shoot it in Platform of Trust Stack Overflow community page.

Did Context API miss some feature? Make a Wish in GitHub.


Did we miss something? Make a Wish!

Tell us in GitHub

See all APIs