Skip to content

auctionity/saleroom-graphql-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

The GraphQL endpoint

https://api.auctionity.com

Schema

Auctionity - Saleroom GraphQL Schema

Authentication

Authentication is provide by a JWT (JSON Web Tokens) to get a token you have to sign a time-stamped message describe below.

Login Request

Mutation:
login(message: String!, sign: String!, type: String): JWT!
  • message => message must be login/{current_timestamp}/{signer_address} (ex: login/1581501627/0x0000000000000000000000000000000000000000)
  • eth_sign(message) -> (ex: 0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
  • type (optional) => if signature is provide par Trezor (type: trezor)

Login Response

{
  "data": {
    "login": "xxxxx.yyyyy.zzzzz"
  }
}

Add HTTP Authorization request header

authorization: Bearer xxxxx.yyyyy.zzzzz

About

Auctionity Saleroom - GraphQL API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published