Skip to content

HTTP Playground for Dataswyft PDA APIs

Notifications You must be signed in to change notification settings

dataswift/pda-http-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

pda-http-playground

HTTP Playground for Dataswyft PDA APIs

Introduction

The repository is a TLDR Level 101 demostration of Dataswyft's PDA APIs.

Prequisites

  1. I assume you are a software developer.
  2. You are familiar with a programming language and have a favourite application framework. Lastly, I assume you understand REST APIs, with their GET, POST, PUT, DELETE and so on.
  3. You have a Live PDS
  4. You have an account on our Developers Portal.
  5. You have created a Project under your Developers Portal Account.

Live PDA and Developers Portal

You can fulfill the above requirements 3-5 by registering at our Developers Portal. Upon registration, you will be given

  1. A Live PDS - Please keep your credentials safe.
  2. the rights to create your Project Initially, all created Projects operate in our Sandbox environment.

More details can be found at About the Developers Portal

Technical Requirements

  1. This Github Repo - PDA HTTP Playground
  2. Visual Studio Code
  3. Rest Client extension by Huachao Mao. Marketplace Link. All the instructions with the .http files in this repo are executable.

Repo Contents

The repo contains

  1. this README.md
  2. test/rest-client/provisioner.http
    • the main purpose of this file is to show how to create a PDA for your application
    • and to make queries about a user
  3. test/rest-client/pda.http
    • authenticate a user against his PDA
    • the main purpose of this file is to demonstrate the creating, reading, updating and deleting of records on the PDA

Basic Concepts

  1. When you register your PDA application in the Developers Portal, you will be given an application_id. You'd need the application_id when authenticating the user.
  2. After a successful authentication, you will receive an application_token with which to call the REST APIs with.
  3. Every application has a namespace where data is stored. The application_token will give you access to the namespace

Where to find further help

  1. Join our HAT Community on Slack. Especially #developers channel
    • After you have registered on the Developers Portal, our HATLab Studio manager will send you the invitation link to the Slack workspace in a welcome email.
  2. In your Developers Portal dashboard, go to Docs
  3. The full blown API set that is compatible with Postman is available on (https://api.dataswift.io/)

About

HTTP Playground for Dataswyft PDA APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published