Auctionity Saleroom - GraphQL API (v1.0.0-alpha)
https://api.auctionity.com
Auctionity - Saleroom GraphQL Schema
Authentication is provide by a JWT (JSON Web Tokens) to get a token you have to sign a time-stamped message describe below.
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
)
{
"data": {
"login": "xxxxx.yyyyy.zzzzz"
}
}
Add HTTP Authorization request header
authorization: Bearer xxxxx.yyyyy.zzzzz