Giter Club home page Giter Club logo

Comments (1)

varsha766 avatar varsha766 commented on July 18, 2024

API documention for getting user detail after presentation verification

After creating presentation template form here. Verify presentation using hypersign-auth-node-sdk by following steps mentioned here

Run the project using command

npm run dev

API for fetching user data

To fetch user detail use our api https://stage.hypermine.in/studioserver/api/v1/presentation/request/info

URL

https://stage.hypermine.in/studioserver/api/v1/presentaion/request/info

Method

GET

Headers:

"accesstoken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYzNjhjMTQ3MjAwOGNkZWQ3ZDI1OWMxYyIsImlhdCI6MTY2NzgwOTYwNywiZXhwIjoxNjY3ODA5OTA3fQ._kBL39S-CT9cQWvP7Q0O6qXiV_f9TY5lgr74AOpoRCg"

Response

  • If status is 200
{
 message: 'success',
 data: {
   name: 'varsha',
   age: '23',
   id: 'did:hid:testnet:z4j9Exyg3Cbkq9AsMRJVSkW3q7nTriyv25WTp3rQaCLjR'
 },
 error: false
}
  • If some error occured status will be 400 and response is as below
{
    "message": "Token has expired",
    "data": null,
    "error": true
}

message: Reason due to which error has occured.

from entity-studio-dashboard-service.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.