Security Microservice

The security microservice is responsible for protecting against fraud and malicious attacks. It's also used for user authentication and authorization, and user specific endpoints.

Public API

Get your user profile

Endpoint

GEThttps://security.tickets22.baraa.app/me

Authentication

--header 'Authorization: Bearer TOKEN

Example Responses

The request was successful and information about the user is returned.

1{
2  "id": "clb2egklg0000s66qteo2x8dj",
3  "name": "Baraa",
4  "email": "hey.baraa@gmail.com",
5  "phone": null
6}

Get user purchased tickets

Endpoint

GEThttps://security.tickets22.baraa.app/me/tickets

Authentication

--header 'Authorization: Bearer TOKEN

Example Responses