{"openapi":"3.1.0","info":{"title":"Authentication Service","description":"Authentication Service API for the INFONITE project.","termsOfService":"https://www.lucual18.es/terms","contact":{"name":"CATGRID","url":"https://www.example.es/","email":"adler.marmol@gmail.com"},"license":{"name":"Copyright (C) 2024 Adler Marmol & Camila Molina"},"version":"2026.5.300"},"servers":[{"url":"https://test-auth.catgrid.tech/","description":"Authentication Service Server"}],"paths":{"/api/demo/templates/mail/invitation":{"get":{"tags":["Demo Templates"],"summary":"Invitation template","description":"Demo template of the invitation email message","operationId":"demo_template_invitation_api_demo_templates_mail_invitation_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"John Doe","title":"Name"}}],"responses":{"200":{"description":"**200 OK**<br>Invitation HTML template","content":{"text/html":{"schema":{"type":"string"}}},"headers":{}},"default":{"description":"**Defaults**<br>Default response information for all status codes","headers":{"x-process-time":{"description":"Time spent (in seconds) processing the request","example":"0.006551027297973633","schema":{"type":"number"}},"x-request-id":{"description":"Unique identifier for the request","example":"644599da47847b79c03cc94f","schema":{"type":"string"}},"x-ratelimit-limit":{"description":"Maximum number of requests that can be made in a period of time","example":"5","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Number of requests remaining in the current period of time","example":"4","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"Time (in timestamp format) when the rate limit will reset","example":"1614625200","schema":{"type":"integer"}}}},"500":{"description":"**500 Internal Server Error**<br>Server got itself in trouble","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"**422 Unprocessable Content**<br>A validation error occurred. *See the response body for details*.","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}}},"429":{"description":"**429 Too Many Requests**<br>The user has sent too many requests in a given amount of time (\"rate limiting\")","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/demo/templates/mail/password-reset/request-link":{"get":{"tags":["Demo Templates"],"summary":"Password Reset: Request Link","description":"Demo template of the password reset request link message","operationId":"demo_template_password_reset_request_link_api_demo_templates_mail_password_reset_request_link_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"John Doe","title":"Name"}}],"responses":{"200":{"description":"**200 OK**<br>Password reset request link HTML template","content":{"text/html":{"schema":{"type":"string"}}},"headers":{}},"default":{"description":"**Defaults**<br>Default response information for all status codes","headers":{"x-process-time":{"description":"Time spent (in seconds) processing the request","example":"0.006551027297973633","schema":{"type":"number"}},"x-request-id":{"description":"Unique identifier for the request","example":"644599da47847b79c03cc94f","schema":{"type":"string"}},"x-ratelimit-limit":{"description":"Maximum number of requests that can be made in a period of time","example":"5","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Number of requests remaining in the current period of time","example":"4","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"Time (in timestamp format) when the rate limit will reset","example":"1614625200","schema":{"type":"integer"}}}},"500":{"description":"**500 Internal Server Error**<br>Server got itself in trouble","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"**422 Unprocessable Content**<br>A validation error occurred. *See the response body for details*.","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}}},"429":{"description":"**429 Too Many Requests**<br>The user has sent too many requests in a given amount of time (\"rate limiting\")","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/demo/templates/mail/password-reset/success":{"get":{"tags":["Demo Templates"],"summary":"Password Reset: Success","description":"Demo template of the password reset success message","operationId":"demo_template_password_reset_success_api_demo_templates_mail_password_reset_success_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"John Doe","title":"Name"}}],"responses":{"200":{"description":"**200 OK**<br>Password reset success HTML template","content":{"text/html":{"schema":{"type":"string"}}},"headers":{}},"default":{"description":"**Defaults**<br>Default response information for all status codes","headers":{"x-process-time":{"description":"Time spent (in seconds) processing the request","example":"0.006551027297973633","schema":{"type":"number"}},"x-request-id":{"description":"Unique identifier for the request","example":"644599da47847b79c03cc94f","schema":{"type":"string"}},"x-ratelimit-limit":{"description":"Maximum number of requests that can be made in a period of time","example":"5","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Number of requests remaining in the current period of time","example":"4","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"Time (in timestamp format) when the rate limit will reset","example":"1614625200","schema":{"type":"integer"}}}},"500":{"description":"**500 Internal Server Error**<br>Server got itself in trouble","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"**422 Unprocessable Content**<br>A validation error occurred. *See the response body for details*.","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}}},"429":{"description":"**429 Too Many Requests**<br>The user has sent too many requests in a given amount of time (\"rate limiting\")","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/demo/templates/mail/verify-email/request-code":{"get":{"tags":["Demo Templates"],"summary":"Verify email: Request Code","description":"Demo template of the verify email request code message","operationId":"demo_template_verify_email_request_code_api_demo_templates_mail_verify_email_request_code_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"John Doe","title":"Name"}}],"responses":{"200":{"description":"**200 OK**<br>Verify email request code HTML template","content":{"text/html":{"schema":{"type":"string"}}},"headers":{}},"default":{"description":"**Defaults**<br>Default response information for all status codes","headers":{"x-process-time":{"description":"Time spent (in seconds) processing the request","example":"0.006551027297973633","schema":{"type":"number"}},"x-request-id":{"description":"Unique identifier for the request","example":"644599da47847b79c03cc94f","schema":{"type":"string"}},"x-ratelimit-limit":{"description":"Maximum number of requests that can be made in a period of time","example":"5","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Number of requests remaining in the current period of time","example":"4","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"Time (in timestamp format) when the rate limit will reset","example":"1614625200","schema":{"type":"integer"}}}},"500":{"description":"**500 Internal Server Error**<br>Server got itself in trouble","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"**422 Unprocessable Content**<br>A validation error occurred. *See the response body for details*.","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}}},"429":{"description":"**429 Too Many Requests**<br>The user has sent too many requests in a given amount of time (\"rate limiting\")","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/demo/templates/mail/verify-email/verified":{"get":{"tags":["Demo Templates"],"summary":"Verify Email: Verified","description":"Demo template of the verify email verified message","operationId":"demo_template_verify_email_verified_api_demo_templates_mail_verify_email_verified_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"John Doe","title":"Name"}},{"name":"email","in":"query","required":false,"schema":{"type":"string","default":"john@example.com","title":"Email"}}],"responses":{"200":{"description":"**200 OK**<br>Verify email verified HTML template","content":{"text/html":{"schema":{"type":"string"}}},"headers":{}},"default":{"description":"**Defaults**<br>Default response information for all status codes","headers":{"x-process-time":{"description":"Time spent (in seconds) processing the request","example":"0.006551027297973633","schema":{"type":"number"}},"x-request-id":{"description":"Unique identifier for the request","example":"644599da47847b79c03cc94f","schema":{"type":"string"}},"x-ratelimit-limit":{"description":"Maximum number of requests that can be made in a period of time","example":"5","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Number of requests remaining in the current period of time","example":"4","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"Time (in timestamp format) when the rate limit will reset","example":"1614625200","schema":{"type":"integer"}}}},"500":{"description":"**500 Internal Server Error**<br>Server got itself in trouble","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"**422 Unprocessable Content**<br>A validation error occurred. *See the response body for details*.","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}}},"429":{"description":"**429 Too Many Requests**<br>The user has sent too many requests in a given amount of time (\"rate limiting\")","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/demo/templates/mail/security/account-blocked":{"get":{"tags":["Demo Templates"],"summary":"Account Blocked: Notification","description":"Demo template of the account blocked notification message","operationId":"demo_template_security_account_blocked_api_demo_templates_mail_security_account_blocked_get","parameters":[{"name":"name","in":"query","required":false,"schema":{"type":"string","default":"John Doe","title":"Name"}}],"responses":{"200":{"description":"**200 OK**<br>Verify email verified HTML template","content":{"text/html":{"schema":{"type":"string"}}},"headers":{}},"default":{"description":"**Defaults**<br>Default response information for all status codes","headers":{"x-process-time":{"description":"Time spent (in seconds) processing the request","example":"0.006551027297973633","schema":{"type":"number"}},"x-request-id":{"description":"Unique identifier for the request","example":"644599da47847b79c03cc94f","schema":{"type":"string"}},"x-ratelimit-limit":{"description":"Maximum number of requests that can be made in a period of time","example":"5","schema":{"type":"integer"}},"x-ratelimit-remaining":{"description":"Number of requests remaining in the current period of time","example":"4","schema":{"type":"integer"}},"x-ratelimit-reset":{"description":"Time (in timestamp format) when the rate limit will reset","example":"1614625200","schema":{"type":"integer"}}}},"500":{"description":"**500 Internal Server Error**<br>Server got itself in trouble","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"**422 Unprocessable Content**<br>A validation error occurred. *See the response body for details*.","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}}},"429":{"description":"**429 Too Many Requests**<br>The user has sent too many requests in a given amount of time (\"rate limiting\")","headers":{},"content":{"text/html":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"ErrorResponse":{"properties":{"detail":{"type":"string","title":"Detail","description":"Error message","examples":["Some error message"]}},"type":"object","required":["detail"],"title":"Error Response","description":"Error response details"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string","description":"Key of an item in payloads objects","examples":["some_key"]},{"type":"integer","description":"Index if an item in payloads arrays","examples":["some_key"]}]},"type":"array","title":"Error location","description":"Location of the error","examples":[["body","some_array",0]]},"msg":{"type":"string","title":"Msg","description":"Detailed error message","examples":["ensure this value has at least 8 characters"]},"type":{"type":"string","title":"Type","description":"Error type","examples":["value_error.any_str.min_length"]},"input":{"title":"Input","description":"Input value","examples":["some_value"]},"ctx":{"additionalProperties":true,"type":"object","title":"Error Context","description":"Context","examples":[{"limit_value":8}]}},"type":"object","required":["loc","msg","type"],"title":"Validation Error Item","description":"Object representing a validation error"},"ValidationErrorResponse":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","required":["detail"],"title":"Validation Error Response","description":"Gives details about the validation errors for the given payload"}}},"tags":[{"name":"Login & Security","description":"Login and security management."},{"name":"Logged User Profile","description":"Logged user profile management."},{"name":"Terms & Conditions","description":"Terms and conditions management."},{"name":"Invitations","description":"Invitation management."}]}