For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get challenge

Intent "login" to check if want to make signature request to login to system or unlock a video.

Get Auth Challenge

post

Generate signature challenge for web3 wallets.

Body
userAddressstringRequired
intentstringRequired
ownerAddressstringOptional
mediaIdstringOptional
zoomIdstringOptional
Responses
200

OK

No content

post/api/auth/get_challenge
POST /api/auth/get_challenge HTTP/1.1
Host: api.rair.market
Content-Type: application/json
Accept: */*
Content-Length: 93

{
  "userAddress": "text",
  "intent": "text",
  "ownerAddress": "text",
  "mediaId": "text",
  "zoomId": "text"
}

No content