Skip to content

API Reference

Yashar Hosseinpour edited this page Feb 5, 2024 · 2 revisions

Authorization

All endpoints require OAuth 2.0 authorization.

Users

Get Users

  • GET https://{{api_gateway_id}}.execute-api.{{region}}.amazonaws.com/{{stage_name}}/users

Create User

  • POST https://{{api_gateway_id}}.execute-api.{{region}}.amazonaws.com/{{stage_name}}/users
    • Body - raw (json)
      {
          "given_name": "<GIVEN_NAME>",
          "family_name": "<FAMILY_NAME>",
          "email": "<EMAIL_ADDRESS>"
      }

Get User

  • GET https://{{api_gateway_id}}.execute-api.{{region}}.amazonaws.com/{{stage_name}}/users/:user_id
    • Path Variables
      • user_id

Update User

  • PATCH https://{{api_gateway_id}}.execute-api.{{region}}.amazonaws.com/{{stage_name}}/users/:user_id
    • Path Variables
      • user_id

Delete User

  • DELETE https://{{api_gateway_id}}.execute-api.{{region}}.amazonaws.com/{{stage_name}}/users/:user_id
    • Path Variables
      • user_id

Get Pre-Signed Upload URL

  • GET https://{{api_gateway_id}}.execute-api.{{region}}.amazonaws.com/{{stage_name}}/request-upload
Clone this wiki locally