{
"openapi": "3.0.3",
"info": {
"title": "Cyber Valley Tickets API",
"version": "1.0.0"
},
"paths": {
"/api/auth/custom/send-sms/": {
"post": {
"operationId": "api_auth_custom_send_sms_create",
"description": "Send SMS verification code (mocked)",
"tags": [
"api"
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/SendSMSRequest"
}
},
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/SendSMSRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/SendSMSRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SendSMSResponse"
}
}
},
"description": ""
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SendSMSResponse"
}
}
},
"description": ""
}
}
}
},
"/api/auth/custom/submit-application/": {
"post": {
"operationId": "api_auth_custom_submit_application_create",
"tags": [
"api"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/ApplicationRequestRequest"
}
}
}
},
"security": [
{}
],
"responses": {
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"201": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SubmitApplicationResponse"
}
}
},
"description": ""
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SubmitApplicationResponse"
}
}
},
"description": ""
}
}
}
},
"/api/auth/custom/verify-code/": {
"post": {
"operationId": "api_auth_custom_verify_code_create",
"description": "Verify SMS code and return custom auth payload",
"tags": [
"api"
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/VerifyCodeRequest"
}
},
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/VerifyCodeRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/VerifyCodeRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VerifyCodeResponse"
}
}
},
"description": ""
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VerifyCodeResponse"
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VerifyCodeResponse"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
}
}
}
},
"/api/distribution-profiles/": {
"get": {
"operationId": "api_distribution_profiles_list",
"description": "Get distribution profiles owned by the current user",
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiDistributionProfilesListErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DistributionProfile"
}
}
}
},
"description": ""
}
}
}
},
"/api/distribution-profiles/{id}/": {
"get": {
"operationId": "api_distribution_profiles_retrieve",
"description": "Get a specific distribution profile",
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "integer"
},
"description": "Distribution profile ID",
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiDistributionProfilesRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DistributionProfile"
}
}
},
"description": ""
}
}
}
},
"/api/events/": {
"get": {
"operationId": "api_events_list",
"description": "Available events in the system",
"parameters": [
{
"in": "query",
"name": "search",
"schema": {
"type": "string"
},
"description": "Search events by title, place name, or creator address"
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsListErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RoleBasedEvent"
}
}
}
},
"description": ""
}
}
}
},
"/api/events/{event_id}/categories": {
"get": {
"operationId": "api_events_categories_list",
"parameters": [
{
"in": "path",
"name": "eventId",
"schema": {
"type": "integer"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsCategoriesListErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/TicketCategory"
}
}
}
},
"description": ""
}
}
}
},
"/api/events/{event_id}/lifetime_revenue": {
"get": {
"operationId": "api_events_lifetime_revenue_retrieve",
"parameters": [
{
"in": "path",
"name": "eventId",
"schema": {
"type": "integer"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsLifetimeRevenueRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"total_revenue": {
"type": "string",
"description": "Total revenue in USDT micro-units (6 decimals) as a string"
},
"ticket_revenue": {
"type": "string",
"description": "Ticket revenue in USDT micro-units (6 decimals) as a string"
},
"deposit": {
"type": "string",
"description": "Event request deposit in USDT micro-units (6 decimals) as a string"
},
"tickets_sold": {
"type": "integer",
"description": "Number of tickets sold"
}
}
}
}
},
"description": ""
}
}
}
},
"/api/events/{event_id}/status": {
"get": {
"operationId": "api_events_status_retrieve",
"parameters": [
{
"in": "path",
"name": "eventId",
"schema": {
"type": "integer"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsStatusRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"tickets": {
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"redeemed": {
"type": "integer"
}
}
}
}
}
}
},
"description": ""
}
}
}
},
"/api/events/{event_id}/tickets/{ticket_id}": {
"get": {
"operationId": "api_events_tickets_retrieve",
"parameters": [
{
"in": "path",
"name": "eventId",
"schema": {
"type": "integer"
},
"required": true
},
{
"in": "path",
"name": "ticketId",
"schema": {
"type": "integer"
},
"required": true
}
],
"tags": [
"api"
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsTicketsRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Ticket"
}
}
},
"description": ""
}
}
}
},
"/api/events/{event_id}/tickets/{ticket_id}/nonce": {
"get": {
"operationId": "api_events_tickets_nonce_generate",
"parameters": [
{
"in": "path",
"name": "eventId",
"schema": {
"type": "integer"
},
"required": true
},
{
"in": "path",
"name": "ticketId",
"schema": {
"type": "integer"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsTicketsNonceGenerateErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"nonce": {
"type": "string"
}
}
}
}
},
"description": ""
}
}
}
},
"/api/events/{event_id}/tickets/{ticket_id}/nonce/{nonce}": {
"get": {
"operationId": "api_events_tickets_verify",
"parameters": [
{
"in": "path",
"name": "eventId",
"schema": {
"type": "integer"
},
"required": true
},
{
"in": "path",
"name": "nonce",
"schema": {
"type": "string"
},
"required": true
},
{
"in": "path",
"name": "ticketId",
"schema": {
"type": "string"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsTicketsVerifyErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "string",
"example": "no redeem"
}
}
},
"description": ""
},
"202": {
"content": {
"application/json": {
"schema": {
"type": "string",
"example": "pending redeem"
}
}
},
"description": ""
},
"403": {
"content": {
"application/json": {
"schema": {
"type": "string",
"example": "Only staff or master can verify tickets"
},
"examples": {
"PermissionDenied": {
"value": {
"type": "client_error",
"errors": [
{
"code": "permission_denied",
"detail": "You do not have permission to perform this action.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "string",
"example": "Nonce expired or invalid"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"409": {
"content": {
"application/json": {
"schema": {
"type": "string",
"example": "redeemed"
}
}
},
"description": ""
}
}
}
},
"/api/events/{id}/": {
"get": {
"operationId": "api_events_retrieve",
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "integer"
},
"description": "A unique integer value identifying this event.",
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreatorEvent"
},
"examples": {
"Default": {}
}
}
},
"description": ""
}
}
}
},
"/api/events/{id}/attendees/": {
"get": {
"operationId": "api_events_attendees_list",
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "integer"
},
"description": "A unique integer value identifying this event.",
"required": true
},
{
"in": "query",
"name": "search",
"schema": {
"type": "string"
},
"description": "Search attendees by address or social media handles"
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsAttendeesListErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Attendee"
}
}
}
},
"description": ""
}
}
}
},
"/api/events/by-tx-hash/{tx_hash}/": {
"get": {
"operationId": "api_events_by_tx_hash_retrieve",
"description": "Get an event by its creation transaction hash",
"parameters": [
{
"in": "path",
"name": "txHash",
"schema": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]+$"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsByTxHashRetrieveErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StaffEvent"
},
"examples": {
"Default": {}
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"detail": {
"type": "string"
}
}
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
}
}
}
},
"/api/events/total_revenue": {
"get": {
"operationId": "api_events_total_revenue_retrieve",
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsTotalRevenueRetrieveErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"totalRevenue": {
"type": "string",
"description": "Total revenue across all events in USDT micro-units (6 decimals) as a string"
}
}
}
}
},
"description": ""
}
}
}
},
"/api/events/verification-stats": {
"get": {
"operationId": "api_events_verification_stats_retrieve",
"description": "Get verification statistics per local provider.",
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiEventsVerificationStatsRetrieveErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"places": {
"type": "object",
"properties": {
"providers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"currentWeek": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
},
"averageVerificationTime": {
"type": "integer"
}
}
},
"previousWeek": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
},
"averageVerificationTime": {
"type": "integer"
}
}
},
"diff": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
}
}
}
}
}
}
}
},
"events": {
"type": "object",
"properties": {
"providers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"currentWeek": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
},
"averageVerificationTime": {
"type": "integer"
}
}
},
"previousWeek": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
},
"averageVerificationTime": {
"type": "integer"
}
}
},
"diff": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
}
}
}
}
}
}
}
},
"shamans": {
"type": "object",
"properties": {
"providers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"currentWeek": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
},
"averageVerificationTime": {
"type": "integer"
}
}
},
"previousWeek": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
},
"averageVerificationTime": {
"type": "integer"
}
}
},
"diff": {
"type": "object",
"properties": {
"pending": {
"type": "integer"
},
"verified": {
"type": "integer"
}
}
}
}
}
}
}
}
}
}
}
},
"description": ""
}
}
}
},
"/api/geodata/": {
"get": {
"operationId": "api_geodata_layers_list",
"description": "Returns a list of available geodata layer names",
"summary": "List available geodata layers",
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiGeodataLayersListErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"description": ""
}
}
}
},
"/api/geodata/{id}/": {
"get": {
"operationId": "api_geodata_layer_retrieve",
"description": "Returns the geodata features for a specific layer. Each feature represents a geographical area with coordinates, name, type, and optional styling information.",
"summary": "Get geodata layer by name",
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "string"
},
"description": "Geodata layer name",
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiGeodataLayerRetrieveErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GeoFeature"
}
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
}
}
}
},
"/api/ipfs/events/meta": {
"put": {
"operationId": "api_ipfs_events_meta_update",
"tags": [
"api"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/UploadEventMetaToIpfsRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"cid": {
"type": "string"
},
"cover": {
"type": "string"
}
},
"description": "IPFS CID of stored data"
}
}
},
"description": ""
}
}
}
},
"/api/ipfs/orders/meta": {
"put": {
"operationId": "api_ipfs_orders_meta_update",
"tags": [
"api"
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/UploadOrderMetaToIpfsRequest"
}
},
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/UploadOrderMetaToIpfsRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UploadOrderMetaToIpfsRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"201": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"cid": {
"type": "string"
}
},
"description": "IPFS CID of order metadata"
}
}
},
"description": ""
}
}
}
},
"/api/ipfs/places/meta": {
"put": {
"operationId": "api_ipfs_places_meta_update",
"description": "Upload event place metadata to IPFS. The metadata includes the place title and GeoJSON Point geometry with coordinates.",
"summary": "Upload place metadata to IPFS",
"tags": [
"api"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/UploadPlaceMetaToIpfsRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiIpfsPlacesMetaUpdateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"cid": {
"type": "string"
}
},
"description": "IPFS CID of stored place metadata"
}
}
},
"description": ""
}
}
}
},
"/api/ipfs/users/socials": {
"put": {
"operationId": "api_ipfs_users_socials_update",
"tags": [
"api"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UploadSocialsRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiIpfsUsersSocialsUpdateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"cid": {
"type": "string"
}
},
"description": "IPFS CID of stored data"
}
}
},
"description": ""
}
}
}
},
"/api/notifications/": {
"get": {
"operationId": "api_notifications_list",
"parameters": [
{
"in": "query",
"name": "search",
"schema": {
"type": "string"
},
"description": "Search notifications by title or body"
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiNotificationsListErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Notification"
}
}
}
},
"description": ""
}
}
}
},
"/api/notifications/{notification_id}/": {
"get": {
"operationId": "api_notifications_retrieve",
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "string"
},
"description": "Notification ID",
"required": true
},
{
"in": "path",
"name": "notificationId",
"schema": {
"type": "string"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiNotificationsRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Notification"
}
}
},
"description": ""
}
}
}
},
"/api/notifications/seen-all/": {
"post": {
"operationId": "api_notifications_seen_all_create",
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiNotificationsSeenAllCreateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"204": {
"description": "No response body"
}
}
}
},
"/api/notifications/seen/{notification_id}/": {
"post": {
"operationId": "api_notifications_seen_create",
"parameters": [
{
"in": "path",
"name": "notificationId",
"schema": {
"type": "string"
},
"description": "Notification ID",
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiNotificationsSeenCreateErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"204": {
"description": "No response body"
}
}
}
},
"/api/places/": {
"get": {
"operationId": "api_places_list",
"parameters": [
{
"in": "query",
"name": "search",
"schema": {
"type": "string"
},
"description": "Search places by name or provider address"
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiPlacesListErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EventPlace"
}
}
}
},
"description": ""
}
}
}
},
"/api/places/{id}/": {
"get": {
"operationId": "api_places_retrieve",
"parameters": [
{
"in": "path",
"name": "id",
"schema": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"format": "int64"
},
"description": "A unique value identifying this event place.",
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiPlacesRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EventPlace"
}
}
},
"description": ""
}
}
}
},
"/api/shaman/verify/company": {
"post": {
"operationId": "api_shaman_verify_company_create",
"tags": [
"api"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/CompanyVerificationRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"cid": {
"type": "string"
},
"ktp": {
"type": "string"
},
"akta": {
"type": "string"
},
"sk": {
"type": "string"
}
}
}
}
},
"description": ""
},
"400": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
}
}
},
"description": ""
}
}
}
},
"/api/shaman/verify/individual": {
"post": {
"operationId": "api_shaman_verify_individual_create",
"tags": [
"api"
],
"requestBody": {
"content": {
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/IndividualVerificationRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"cid": {
"type": "string"
},
"ktp": {
"type": "string"
}
}
}
}
},
"description": ""
},
"400": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
}
}
}
},
"description": ""
}
}
}
},
"/api/siwe/payload": {
"post": {
"operationId": "api_siwe_payload_create",
"tags": [
"api"
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/SiwePayloadRequestRequest"
}
},
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/SiwePayloadRequestRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/SiwePayloadRequestRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiSiwePayloadCreateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SiwePayloadResponse"
}
}
},
"description": ""
}
}
}
},
"/api/siwe/status": {
"get": {
"operationId": "api_siwe_status_retrieve",
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiSiweStatusRetrieveErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"trusted": {
"type": "boolean"
},
"expires_at": {
"type": "integer"
}
}
}
}
},
"description": ""
}
}
}
},
"/api/siwe/verify": {
"post": {
"operationId": "api_siwe_verify_create",
"tags": [
"api"
],
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "#/components/schemas/SiweVerifyRequestRequest"
}
},
"multipart/form-data": {
"schema": {
"$ref": "#/components/schemas/SiweVerifyRequestRequest"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/SiweVerifyRequestRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiSiweVerifyCreateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SiweVerifyResponse"
}
}
},
"description": ""
}
}
}
},
"/api/telegram/link-token": {
"post": {
"operationId": "api_telegram_link_token_create",
"description": "Create a secure token for linking Telegram account.\n\nGenerates a one-time use token that expires in 15 minutes.\nThe token is used in the Telegram bot start command to verify\nthat the user linking their Telegram account is the actual\nowner of the Ethereum address.",
"tags": [
"api"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TelegramLinkTokenRequestRequest"
}
}
}
},
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiTelegramLinkTokenCreateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/TelegramLinkTokenResponse"
}
}
},
"description": ""
},
"401": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"detail": {
"type": "string"
}
}
},
"examples": {
"AuthenticationFailed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "authentication_failed",
"detail": "Incorrect authentication credentials.",
"attr": null
}
]
}
},
"NotAuthenticated": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_authenticated",
"detail": "Authentication credentials were not provided.",
"attr": null
}
]
}
}
}
}
},
"description": ""
}
}
}
},
"/api/telegram/schema": {
"get": {
"operationId": "api_telegram_schema_retrieve",
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiTelegramSchemaRetrieveErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"version": {
"type": "integer"
},
"schema_ttl_seconds": {
"type": "integer"
},
"forward_to": {
"type": "string"
},
"matches": {
"type": "array"
}
}
}
}
},
"description": ""
}
}
}
},
"/api/telegram/updates": {
"post": {
"operationId": "api_telegram_updates_create",
"tags": [
"api"
],
"requestBody": {
"content": {
"type": {
"schema": {
"type": "object",
"additionalProperties": {},
"description": "Unspecified request body"
}
},
"description": {
"schema": {
"type": "object",
"additionalProperties": {},
"description": "Unspecified request body"
}
},
"additionalProperties": {
"schema": {
"type": "object",
"additionalProperties": {},
"description": "Unspecified request body"
}
}
}
},
"security": [
{}
],
"responses": {
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string"
}
}
}
}
},
"description": ""
},
"400": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"detail": {
"type": "string"
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"detail": {
"type": "string"
}
}
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
}
}
}
},
"/api/users/{address}/profile": {
"get": {
"operationId": "api_users_profile_retrieve",
"description": "Get user profile info.\n\nSocials are only returned if requester is the user or has\nlocalprovider/master role.",
"parameters": [
{
"in": "path",
"name": "address",
"schema": {
"type": "string"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiUsersProfileRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"ens": {
"type": "string",
"nullable": true
},
"avatar_url": {
"type": "string"
},
"socials": {
"type": "array",
"items": {
"type": "object",
"properties": {
"network": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"description": ""
}
}
}
},
"/api/users/{address}/socials": {
"get": {
"operationId": "api_users_socials_retrieve",
"description": "Get social media handles for a user by address.",
"parameters": [
{
"in": "path",
"name": "address",
"schema": {
"type": "string"
},
"required": true
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiUsersSocialsRetrieveErrorResponse400"
}
}
},
"description": ""
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse404"
},
"examples": {
"NotFound": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_found",
"detail": "Not found.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"network": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
}
}
},
"description": ""
}
}
}
},
"/api/users/current/": {
"get": {
"operationId": "api_users_current_retrieve",
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiUsersCurrentRetrieveErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CurrentUser"
}
}
},
"description": ""
}
}
}
},
"/api/users/local_providers/": {
"get": {
"operationId": "api_users_local_providers_list",
"parameters": [
{
"in": "query",
"name": "search",
"schema": {
"type": "string"
},
"description": "Search local providers by address or social media handles"
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiUsersLocalProvidersListErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CurrentUser"
}
}
}
},
"description": ""
}
}
}
},
"/api/users/socials": {
"post": {
"operationId": "api_users_socials_create",
"tags": [
"api"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SaveSocialsRequest"
}
}
},
"required": true
},
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiUsersSocialsCreateErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"201": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SaveSocials"
}
}
},
"description": ""
}
}
}
},
"/api/users/staff/": {
"get": {
"operationId": "api_users_staff_list",
"parameters": [
{
"in": "query",
"name": "search",
"schema": {
"type": "string"
},
"description": "Search staff by address or social media handles"
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiUsersStaffListErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Staff"
}
}
}
},
"description": ""
}
}
}
},
"/api/users/verified_shamans/": {
"get": {
"operationId": "api_users_verified_shamans_list",
"parameters": [
{
"in": "query",
"name": "search",
"schema": {
"type": "string"
},
"description": "Search verified shamans by address or socials"
}
],
"tags": [
"api"
],
"security": [
{}
],
"responses": {
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiUsersVerifiedShamansListErrorResponse400"
}
}
},
"description": ""
},
"405": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse405"
},
"examples": {
"MethodNotAllowed": {
"value": {
"type": "client_error",
"errors": [
{
"code": "method_not_allowed",
"detail": "Method \"get\" not allowed.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"406": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse406"
},
"examples": {
"NotAcceptable": {
"value": {
"type": "client_error",
"errors": [
{
"code": "not_acceptable",
"detail": "Could not satisfy the request Accept header.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"415": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse415"
},
"examples": {
"UnsupportedMediaType": {
"value": {
"type": "client_error",
"errors": [
{
"code": "unsupported_media_type",
"detail": "Unsupported media type \"application/json\" in request.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"500": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse500"
},
"examples": {
"APIException": {
"value": {
"type": "server_error",
"errors": [
{
"code": "error",
"detail": "A server error occurred.",
"attr": null
}
]
}
}
}
}
},
"description": ""
},
"200": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CurrentUser"
}
}
}
},
"description": ""
}
}
}
}
},
"components": {
"schemas": {
"ApiDistributionProfilesListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiDistributionProfilesRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsAttendeesListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsByTxHashRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsCategoriesListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsLifetimeRevenueRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsStatusRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsTicketsNonceGenerateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsTicketsRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsTicketsVerifyErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsTotalRevenueRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiEventsVerificationStatsRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiGeodataLayerRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiGeodataLayersListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiIpfsEventsMetaUpdateAddressErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"address"
],
"type": "string",
"description": "* `address` - address"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsEventsMetaUpdateCoverErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"cover"
],
"type": "string",
"description": "* `cover` - cover"
},
"code": {
"enum": [
"empty",
"invalid",
"no_name",
"null",
"required"
],
"type": "string",
"description": "* `empty` - empty\n* `invalid` - invalid\n* `no_name` - no_name\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsEventsMetaUpdateDescriptionErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"description"
],
"type": "string",
"description": "* `description` - description"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsEventsMetaUpdateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateAddressErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateCoverErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateTitleErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateDescriptionErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateWebsiteErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateSocialsCidErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiIpfsEventsMetaUpdateNonFieldErrorsErrorComponent",
"address": "#/components/schemas/ApiIpfsEventsMetaUpdateAddressErrorComponent",
"cover": "#/components/schemas/ApiIpfsEventsMetaUpdateCoverErrorComponent",
"title": "#/components/schemas/ApiIpfsEventsMetaUpdateTitleErrorComponent",
"description": "#/components/schemas/ApiIpfsEventsMetaUpdateDescriptionErrorComponent",
"website": "#/components/schemas/ApiIpfsEventsMetaUpdateWebsiteErrorComponent",
"socials_cid": "#/components/schemas/ApiIpfsEventsMetaUpdateSocialsCidErrorComponent"
}
}
},
"ApiIpfsEventsMetaUpdateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiIpfsEventsMetaUpdateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiIpfsEventsMetaUpdateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsEventsMetaUpdateSocialsCidErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"socials_cid"
],
"type": "string",
"description": "* `socials_cid` - socials_cid"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsEventsMetaUpdateTitleErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"title"
],
"type": "string",
"description": "* `title` - title"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsEventsMetaUpdateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiIpfsEventsMetaUpdateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiIpfsEventsMetaUpdateWebsiteErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"website"
],
"type": "string",
"description": "* `website` - website"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateBuyerAddressErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"buyer_address"
],
"type": "string",
"description": "* `buyer_address` - buyer_address"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateCurrencyErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"currency"
],
"type": "string",
"description": "* `currency` - currency"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateEventIdErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateBuyerAddressErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateSocialsNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateSocialsNetworkErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateSocialsValueErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXCategoryIdErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXCategoryNameErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXPriceErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXQuantityErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateTotalTicketsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateTotalPriceErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateCurrencyErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateReferralDataErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiIpfsOrdersMetaUpdateNonFieldErrorsErrorComponent",
"event_id": "#/components/schemas/ApiIpfsOrdersMetaUpdateEventIdErrorComponent",
"buyer_address": "#/components/schemas/ApiIpfsOrdersMetaUpdateBuyerAddressErrorComponent",
"socials.non_field_errors": "#/components/schemas/ApiIpfsOrdersMetaUpdateSocialsNonFieldErrorsErrorComponent",
"socials.network": "#/components/schemas/ApiIpfsOrdersMetaUpdateSocialsNetworkErrorComponent",
"socials.value": "#/components/schemas/ApiIpfsOrdersMetaUpdateSocialsValueErrorComponent",
"tickets.non_field_errors": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsNonFieldErrorsErrorComponent",
"tickets.INDEX.non_field_errors": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXNonFieldErrorsErrorComponent",
"tickets.INDEX.category_id": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXCategoryIdErrorComponent",
"tickets.INDEX.category_name": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXCategoryNameErrorComponent",
"tickets.INDEX.price": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXPriceErrorComponent",
"tickets.INDEX.quantity": "#/components/schemas/ApiIpfsOrdersMetaUpdateTicketsINDEXQuantityErrorComponent",
"total_tickets": "#/components/schemas/ApiIpfsOrdersMetaUpdateTotalTicketsErrorComponent",
"total_price": "#/components/schemas/ApiIpfsOrdersMetaUpdateTotalPriceErrorComponent",
"currency": "#/components/schemas/ApiIpfsOrdersMetaUpdateCurrencyErrorComponent",
"referral_data": "#/components/schemas/ApiIpfsOrdersMetaUpdateReferralDataErrorComponent"
}
}
},
"ApiIpfsOrdersMetaUpdateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiIpfsOrdersMetaUpdateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiIpfsOrdersMetaUpdateEventIdErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"event_id"
],
"type": "string",
"description": "* `event_id` - event_id"
},
"code": {
"enum": [
"invalid",
"max_string_length",
"null",
"required"
],
"type": "string",
"description": "* `invalid` - invalid\n* `max_string_length` - max_string_length\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateReferralDataErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"referral_data"
],
"type": "string",
"description": "* `referral_data` - referral_data"
},
"code": {
"enum": [
"invalid",
"null",
"null_characters_not_allowed",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateSocialsNetworkErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"socials.network"
],
"type": "string",
"description": "* `socials.network` - socials.network"
},
"code": {
"enum": [
"invalid_choice",
"null",
"required"
],
"type": "string",
"description": "* `invalid_choice` - invalid_choice\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateSocialsNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"socials.non_field_errors"
],
"type": "string",
"description": "* `socials.non_field_errors` - socials.non_field_errors"
},
"code": {
"enum": [
"invalid",
"null",
"required"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateSocialsValueErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"socials.value"
],
"type": "string",
"description": "* `socials.value` - socials.value"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateTicketsINDEXCategoryIdErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"tickets.INDEX.category_id"
],
"type": "string",
"description": "* `tickets.INDEX.category_id` - tickets.INDEX.category_id"
},
"code": {
"enum": [
"invalid",
"max_string_length",
"null",
"required"
],
"type": "string",
"description": "* `invalid` - invalid\n* `max_string_length` - max_string_length\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateTicketsINDEXCategoryNameErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"tickets.INDEX.category_name"
],
"type": "string",
"description": "* `tickets.INDEX.category_name` - tickets.INDEX.category_name"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateTicketsINDEXNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"tickets.INDEX.non_field_errors"
],
"type": "string",
"description": "* `tickets.INDEX.non_field_errors` - tickets.INDEX.non_field_errors"
},
"code": {
"enum": [
"invalid",
"null",
"required"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateTicketsINDEXPriceErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"tickets.INDEX.price"
],
"type": "string",
"description": "* `tickets.INDEX.price` - tickets.INDEX.price"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateTicketsINDEXQuantityErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"tickets.INDEX.quantity"
],
"type": "string",
"description": "* `tickets.INDEX.quantity` - tickets.INDEX.quantity"
},
"code": {
"enum": [
"invalid",
"max_string_length",
"min_value",
"null",
"required"
],
"type": "string",
"description": "* `invalid` - invalid\n* `max_string_length` - max_string_length\n* `min_value` - min_value\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateTicketsNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"tickets.non_field_errors"
],
"type": "string",
"description": "* `tickets.non_field_errors` - tickets.non_field_errors"
},
"code": {
"enum": [
"not_a_list",
"null",
"required"
],
"type": "string",
"description": "* `not_a_list` - not_a_list\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateTotalPriceErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"total_price"
],
"type": "string",
"description": "* `total_price` - total_price"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateTotalTicketsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"total_tickets"
],
"type": "string",
"description": "* `total_tickets` - total_tickets"
},
"code": {
"enum": [
"invalid",
"max_string_length",
"min_value",
"null",
"required"
],
"type": "string",
"description": "* `invalid` - invalid\n* `max_string_length` - max_string_length\n* `min_value` - min_value\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsOrdersMetaUpdateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiIpfsOrdersMetaUpdateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiIpfsPlacesMetaUpdateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiIpfsPlacesMetaUpdateNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsPlacesMetaUpdateTitleErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsPlacesMetaUpdateGeometryErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsPlacesMetaUpdateEventDepositSizeErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiIpfsPlacesMetaUpdateNonFieldErrorsErrorComponent",
"title": "#/components/schemas/ApiIpfsPlacesMetaUpdateTitleErrorComponent",
"geometry": "#/components/schemas/ApiIpfsPlacesMetaUpdateGeometryErrorComponent",
"event_deposit_size": "#/components/schemas/ApiIpfsPlacesMetaUpdateEventDepositSizeErrorComponent"
}
}
},
"ApiIpfsPlacesMetaUpdateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiIpfsPlacesMetaUpdateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiIpfsPlacesMetaUpdateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiIpfsPlacesMetaUpdateEventDepositSizeErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"event_deposit_size"
],
"type": "string",
"description": "* `event_deposit_size` - event_deposit_size"
},
"code": {
"enum": [
"invalid",
"max_string_length",
"min_value",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `max_string_length` - max_string_length\n* `min_value` - min_value\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsPlacesMetaUpdateGeometryErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"geometry"
],
"type": "string",
"description": "* `geometry` - geometry"
},
"code": {
"enum": [
"invalid",
"null",
"required"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsPlacesMetaUpdateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsPlacesMetaUpdateTitleErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"title"
],
"type": "string",
"description": "* `title` - title"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsPlacesMetaUpdateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiIpfsPlacesMetaUpdateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiIpfsUsersSocialsUpdateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiIpfsUsersSocialsUpdateNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsUsersSocialsUpdateNetworkErrorComponent"
},
{
"$ref": "#/components/schemas/ApiIpfsUsersSocialsUpdateValueErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiIpfsUsersSocialsUpdateNonFieldErrorsErrorComponent",
"network": "#/components/schemas/ApiIpfsUsersSocialsUpdateNetworkErrorComponent",
"value": "#/components/schemas/ApiIpfsUsersSocialsUpdateValueErrorComponent"
}
}
},
"ApiIpfsUsersSocialsUpdateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiIpfsUsersSocialsUpdateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiIpfsUsersSocialsUpdateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiIpfsUsersSocialsUpdateNetworkErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"network"
],
"type": "string",
"description": "* `network` - network"
},
"code": {
"enum": [
"invalid_choice",
"null",
"required"
],
"type": "string",
"description": "* `invalid_choice` - invalid_choice\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsUsersSocialsUpdateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiIpfsUsersSocialsUpdateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiIpfsUsersSocialsUpdateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiIpfsUsersSocialsUpdateValueErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"value"
],
"type": "string",
"description": "* `value` - value"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiNotificationsListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiNotificationsRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiNotificationsSeenAllCreateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiNotificationsSeenAllCreateNonFieldErrorsErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiNotificationsSeenAllCreateNonFieldErrorsErrorComponent"
}
}
},
"ApiNotificationsSeenAllCreateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiNotificationsSeenAllCreateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiNotificationsSeenAllCreateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiNotificationsSeenAllCreateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiNotificationsSeenAllCreateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiNotificationsSeenAllCreateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiNotificationsSeenCreateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiNotificationsSeenCreateNonFieldErrorsErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiNotificationsSeenCreateNonFieldErrorsErrorComponent"
}
}
},
"ApiNotificationsSeenCreateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiNotificationsSeenCreateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiNotificationsSeenCreateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiNotificationsSeenCreateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiNotificationsSeenCreateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiNotificationsSeenCreateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiPlacesListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiPlacesRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiSiwePayloadCreateAddressErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"address"
],
"type": "string",
"description": "* `address` - address"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiwePayloadCreateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiSiwePayloadCreateNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiwePayloadCreateAddressErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiwePayloadCreatePurposeErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiSiwePayloadCreateNonFieldErrorsErrorComponent",
"address": "#/components/schemas/ApiSiwePayloadCreateAddressErrorComponent",
"purpose": "#/components/schemas/ApiSiwePayloadCreatePurposeErrorComponent"
}
}
},
"ApiSiwePayloadCreateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiSiwePayloadCreateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiSiwePayloadCreateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiSiwePayloadCreateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiwePayloadCreatePurposeErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"purpose"
],
"type": "string",
"description": "* `purpose` - purpose"
},
"code": {
"enum": [
"invalid_choice",
"null",
"required"
],
"type": "string",
"description": "* `invalid_choice` - invalid_choice\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiwePayloadCreateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiSiwePayloadCreateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiSiweStatusRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiSiweVerifyCreateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiSiweVerifyCreateNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadAddressErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadChainIdErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadDomainErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadExpirationTimeErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadInvalidBeforeErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadIssuedAtErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadNonceErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadResourcesErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadResourcesINDEXErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadStatementErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadUriErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreatePayloadVersionErrorComponent"
},
{
"$ref": "#/components/schemas/ApiSiweVerifyCreateSignatureErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiSiweVerifyCreateNonFieldErrorsErrorComponent",
"payload.non_field_errors": "#/components/schemas/ApiSiweVerifyCreatePayloadNonFieldErrorsErrorComponent",
"payload.address": "#/components/schemas/ApiSiweVerifyCreatePayloadAddressErrorComponent",
"payload.chain_id": "#/components/schemas/ApiSiweVerifyCreatePayloadChainIdErrorComponent",
"payload.domain": "#/components/schemas/ApiSiweVerifyCreatePayloadDomainErrorComponent",
"payload.expiration_time": "#/components/schemas/ApiSiweVerifyCreatePayloadExpirationTimeErrorComponent",
"payload.invalid_before": "#/components/schemas/ApiSiweVerifyCreatePayloadInvalidBeforeErrorComponent",
"payload.issued_at": "#/components/schemas/ApiSiweVerifyCreatePayloadIssuedAtErrorComponent",
"payload.nonce": "#/components/schemas/ApiSiweVerifyCreatePayloadNonceErrorComponent",
"payload.resources": "#/components/schemas/ApiSiweVerifyCreatePayloadResourcesErrorComponent",
"payload.resources.INDEX": "#/components/schemas/ApiSiweVerifyCreatePayloadResourcesINDEXErrorComponent",
"payload.statement": "#/components/schemas/ApiSiweVerifyCreatePayloadStatementErrorComponent",
"payload.uri": "#/components/schemas/ApiSiweVerifyCreatePayloadUriErrorComponent",
"payload.version": "#/components/schemas/ApiSiweVerifyCreatePayloadVersionErrorComponent",
"signature": "#/components/schemas/ApiSiweVerifyCreateSignatureErrorComponent"
}
}
},
"ApiSiweVerifyCreateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiSiweVerifyCreateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiSiweVerifyCreateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiSiweVerifyCreateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadAddressErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.address"
],
"type": "string",
"description": "* `payload.address` - payload.address"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadChainIdErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.chain_id"
],
"type": "string",
"description": "* `payload.chain_id` - payload.chain_id"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadDomainErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.domain"
],
"type": "string",
"description": "* `payload.domain` - payload.domain"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadExpirationTimeErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.expiration_time"
],
"type": "string",
"description": "* `payload.expiration_time` - payload.expiration_time"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadInvalidBeforeErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.invalid_before"
],
"type": "string",
"description": "* `payload.invalid_before` - payload.invalid_before"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadIssuedAtErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.issued_at"
],
"type": "string",
"description": "* `payload.issued_at` - payload.issued_at"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.non_field_errors"
],
"type": "string",
"description": "* `payload.non_field_errors` - payload.non_field_errors"
},
"code": {
"enum": [
"invalid",
"null",
"required"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadNonceErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.nonce"
],
"type": "string",
"description": "* `payload.nonce` - payload.nonce"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadResourcesErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.resources"
],
"type": "string",
"description": "* `payload.resources` - payload.resources"
},
"code": {
"enum": [
"not_a_list",
"null",
"required"
],
"type": "string",
"description": "* `not_a_list` - not_a_list\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadResourcesINDEXErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.resources.INDEX"
],
"type": "string",
"description": "* `payload.resources.INDEX` - payload.resources.INDEX"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadStatementErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.statement"
],
"type": "string",
"description": "* `payload.statement` - payload.statement"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadUriErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.uri"
],
"type": "string",
"description": "* `payload.uri` - payload.uri"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreatePayloadVersionErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"payload.version"
],
"type": "string",
"description": "* `payload.version` - payload.version"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreateSignatureErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"signature"
],
"type": "string",
"description": "* `signature` - signature"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiSiweVerifyCreateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiSiweVerifyCreateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiTelegramLinkTokenCreateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiTelegramLinkTokenCreateNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiTelegramLinkTokenCreatePurposeErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiTelegramLinkTokenCreateNonFieldErrorsErrorComponent",
"purpose": "#/components/schemas/ApiTelegramLinkTokenCreatePurposeErrorComponent"
}
}
},
"ApiTelegramLinkTokenCreateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiTelegramLinkTokenCreateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiTelegramLinkTokenCreateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiTelegramLinkTokenCreateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiTelegramLinkTokenCreatePurposeErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"purpose"
],
"type": "string",
"description": "* `purpose` - purpose"
},
"code": {
"enum": [
"invalid_choice",
"null"
],
"type": "string",
"description": "* `invalid_choice` - invalid_choice\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiTelegramLinkTokenCreateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiTelegramLinkTokenCreateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiTelegramSchemaRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiUsersCurrentRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiUsersLocalProvidersListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiUsersProfileRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiUsersSocialsCreateError": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiUsersSocialsCreateNonFieldErrorsErrorComponent"
},
{
"$ref": "#/components/schemas/ApiUsersSocialsCreateNetworkErrorComponent"
},
{
"$ref": "#/components/schemas/ApiUsersSocialsCreateValueErrorComponent"
}
],
"discriminator": {
"propertyName": "attr",
"mapping": {
"non_field_errors": "#/components/schemas/ApiUsersSocialsCreateNonFieldErrorsErrorComponent",
"network": "#/components/schemas/ApiUsersSocialsCreateNetworkErrorComponent",
"value": "#/components/schemas/ApiUsersSocialsCreateValueErrorComponent"
}
}
},
"ApiUsersSocialsCreateErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ApiUsersSocialsCreateValidationError"
},
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"validation_error": "#/components/schemas/ApiUsersSocialsCreateValidationError",
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiUsersSocialsCreateNetworkErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"network"
],
"type": "string",
"description": "* `network` - network"
},
"code": {
"enum": [
"invalid_choice",
"null",
"required"
],
"type": "string",
"description": "* `invalid_choice` - invalid_choice\n* `null` - null\n* `required` - required"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiUsersSocialsCreateNonFieldErrorsErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"non_field_errors"
],
"type": "string",
"description": "* `non_field_errors` - non_field_errors"
},
"code": {
"enum": [
"invalid",
"null"
],
"type": "string",
"description": "* `invalid` - invalid\n* `null` - null"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiUsersSocialsCreateValidationError": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ValidationErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiUsersSocialsCreateError"
}
}
},
"required": [
"errors",
"type"
]
},
"ApiUsersSocialsCreateValueErrorComponent": {
"type": "object",
"properties": {
"attr": {
"enum": [
"value"
],
"type": "string",
"description": "* `value` - value"
},
"code": {
"enum": [
"blank",
"invalid",
"null",
"null_characters_not_allowed",
"required",
"surrogate_characters_not_allowed"
],
"type": "string",
"description": "* `blank` - blank\n* `invalid` - invalid\n* `null` - null\n* `null_characters_not_allowed` - null_characters_not_allowed\n* `required` - required\n* `surrogate_characters_not_allowed` - surrogate_characters_not_allowed"
},
"detail": {
"type": "string"
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ApiUsersSocialsRetrieveErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiUsersStaffListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApiUsersVerifiedShamansListErrorResponse400": {
"oneOf": [
{
"$ref": "#/components/schemas/ParseErrorResponse"
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"client_error": "#/components/schemas/ParseErrorResponse"
}
}
},
"ApplicationRequestRequest": {
"oneOf": [
{
"$ref": "#/components/schemas/IndividualApplicationRequest"
},
{
"$ref": "#/components/schemas/BusinessApplicationRequest"
}
]
},
"Attendee": {
"type": "object",
"properties": {
"address": {
"type": "string",
"maxLength": 42
},
"socials": {
"allOf": [
{
"$ref": "#/components/schemas/UploadSocials"
}
],
"readOnly": true
},
"ticketsCount": {
"type": "integer",
"readOnly": true
}
},
"required": [
"address",
"socials",
"ticketsCount"
]
},
"BusinessApplicationRequest": {
"type": "object",
"properties": {
"directorId": {
"type": "string",
"minLength": 1,
"maxLength": 16
},
"akta": {
"type": "string",
"format": "binary"
},
"skKemenkumham": {
"type": "string",
"format": "binary"
}
},
"required": [
"akta",
"directorId",
"skKemenkumham"
]
},
"ClientErrorEnum": {
"enum": [
"client_error"
],
"type": "string",
"description": "* `client_error` - Client Error"
},
"CompanyVerificationRequest": {
"type": "object",
"properties": {
"ktp": {
"type": "string",
"format": "binary"
},
"akta": {
"type": "string",
"format": "binary"
},
"sk": {
"type": "string",
"format": "binary"
}
},
"required": [
"akta",
"ktp",
"sk"
]
},
"Coordinate": {
"type": "object",
"properties": {
"lat": {
"type": "number",
"format": "double",
"description": "Latitude coordinate"
},
"lng": {
"type": "number",
"format": "double",
"description": "Longitude coordinate"
}
},
"required": [
"lat",
"lng"
]
},
"Creator": {
"type": "object",
"properties": {
"address": {
"type": "string",
"maxLength": 42
},
"socials": {
"allOf": [
{
"$ref": "#/components/schemas/UploadSocials"
}
],
"readOnly": true
}
},
"required": [
"address",
"socials"
]
},
"CreatorEvent": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"readOnly": true
},
"creator": {
"$ref": "#/components/schemas/Creator"
},
"status": {
"$ref": "#/components/schemas/EventStatusEnum"
},
"title": {
"type": "string",
"maxLength": 200
},
"description": {
"type": "string"
},
"place": {
"$ref": "#/components/schemas/EventPlace"
},
"placeId": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"format": "int64",
"readOnly": true
},
"ticketPrice": {
"type": "string",
"readOnly": true
},
"ticketPriceRange": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"description": "Calculate the min and max available ticket prices from categories.\nExcludes categories that are sold out (quota exceeded).\nReturns None for min/max if no categories are available.",
"readOnly": true
},
"daysAmount": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": 0,
"format": "int64"
},
"imageUrl": {
"type": "string",
"format": "uri",
"nullable": true,
"maxLength": 200
},
"website": {
"type": "string",
"format": "uri",
"nullable": true,
"maxLength": 2048
},
"startDateTimestamp": {
"type": "integer",
"readOnly": true
},
"ticketsBought": {
"type": "integer",
"nullable": true
},
"totalRevenue": {
"type": "string",
"readOnly": true
},
"paidDeposit": {
"type": "string",
"readOnly": true
},
"ticketsRequiredUntilCancel": {
"type": "integer",
"readOnly": true,
"nullable": true
},
"cancelDateTimestamp": {
"type": "integer",
"readOnly": true,
"nullable": true
}
},
"required": [
"cancelDateTimestamp",
"creator",
"daysAmount",
"description",
"id",
"paidDeposit",
"place",
"placeId",
"startDateTimestamp",
"ticketPrice",
"ticketPriceRange",
"ticketsBought",
"ticketsRequiredUntilCancel",
"title",
"totalRevenue"
]
},
"CurrentUser": {
"type": "object",
"properties": {
"address": {
"type": "string",
"readOnly": true
},
"roles": {
"type": "array",
"items": {
"type": "string"
},
"readOnly": true
},
"tickets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Ticket"
},
"readOnly": true
},
"socials": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Social"
},
"readOnly": true
},
"profileManagerBps": {
"type": "integer",
"readOnly": true
}
},
"required": [
"address",
"profileManagerBps",
"roles",
"socials",
"tickets"
]
},
"DistributionProfile": {
"type": "object",
"description": "Serializer for DistributionProfile model.",
"properties": {
"id": {
"type": "integer",
"readOnly": true
},
"owner": {
"type": "string",
"readOnly": true
},
"ownerAddress": {
"type": "string",
"readOnly": true
},
"recipients": {
"readOnly": true
},
"isActive": {
"type": "boolean",
"readOnly": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"updatedAt": {
"type": "string",
"format": "date-time",
"readOnly": true
}
},
"required": [
"createdAt",
"id",
"isActive",
"owner",
"ownerAddress",
"recipients",
"updatedAt"
]
},
"Error404": {
"type": "object",
"properties": {
"code": {
"$ref": "#/components/schemas/ErrorCode404Enum"
},
"detail": {
"type": "string"
},
"attr": {
"type": "string",
"nullable": true
}
},
"required": [
"attr",
"code",
"detail"
]
},
"Error405": {
"type": "object",
"properties": {
"code": {
"$ref": "#/components/schemas/ErrorCode405Enum"
},
"detail": {
"type": "string"
},
"attr": {
"type": "string",
"nullable": true
}
},
"required": [
"attr",
"code",
"detail"
]
},
"Error406": {
"type": "object",
"properties": {
"code": {
"$ref": "#/components/schemas/ErrorCode406Enum"
},
"detail": {
"type": "string"
},
"attr": {
"type": "string",
"nullable": true
}
},
"required": [
"attr",
"code",
"detail"
]
},
"Error415": {
"type": "object",
"properties": {
"code": {
"$ref": "#/components/schemas/ErrorCode415Enum"
},
"detail": {
"type": "string"
},
"attr": {
"type": "string",
"nullable": true
}
},
"required": [
"attr",
"code",
"detail"
]
},
"Error500": {
"type": "object",
"properties": {
"code": {
"$ref": "#/components/schemas/ErrorCode500Enum"
},
"detail": {
"type": "string"
},
"attr": {
"type": "string",
"nullable": true
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ErrorCode404Enum": {
"enum": [
"not_found"
],
"type": "string",
"description": "* `not_found` - Not Found"
},
"ErrorCode405Enum": {
"enum": [
"method_not_allowed"
],
"type": "string",
"description": "* `method_not_allowed` - Method Not Allowed"
},
"ErrorCode406Enum": {
"enum": [
"not_acceptable"
],
"type": "string",
"description": "* `not_acceptable` - Not Acceptable"
},
"ErrorCode415Enum": {
"enum": [
"unsupported_media_type"
],
"type": "string",
"description": "* `unsupported_media_type` - Unsupported Media Type"
},
"ErrorCode500Enum": {
"enum": [
"error"
],
"type": "string",
"description": "* `error` - Error"
},
"ErrorResponse": {
"type": "object",
"properties": {
"error": {
"type": "string"
}
},
"required": [
"error"
]
},
"ErrorResponse404": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ClientErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Error404"
}
}
},
"required": [
"errors",
"type"
]
},
"ErrorResponse405": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ClientErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Error405"
}
}
},
"required": [
"errors",
"type"
]
},
"ErrorResponse406": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ClientErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Error406"
}
}
},
"required": [
"errors",
"type"
]
},
"ErrorResponse415": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ClientErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Error415"
}
}
},
"required": [
"errors",
"type"
]
},
"ErrorResponse500": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ServerErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Error500"
}
}
},
"required": [
"errors",
"type"
]
},
"EventPlace": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"format": "int64"
},
"title": {
"type": "string",
"maxLength": 200
},
"maxTickets": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": 0,
"format": "int64"
},
"minTickets": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": 0,
"format": "int64"
},
"minPrice": {
"type": "string",
"readOnly": true
},
"minDays": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": 0,
"format": "int64"
},
"geometry": {
"$ref": "#/components/schemas/GeoFeature"
},
"daysBeforeCancel": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": 0,
"format": "int64"
},
"eventDepositSize": {
"type": "string",
"readOnly": true
},
"available": {
"type": "boolean"
},
"status": {
"$ref": "#/components/schemas/EventPlaceStatusEnum"
},
"isUsed": {
"type": "boolean",
"readOnly": true
}
},
"required": [
"daysBeforeCancel",
"eventDepositSize",
"geometry",
"id",
"isUsed",
"maxTickets",
"minDays",
"minPrice",
"minTickets",
"title"
]
},
"EventPlaceStatusEnum": {
"enum": [
"submitted",
"approved",
"declined"
],
"type": "string",
"description": "* `submitted` - submitted\n* `approved` - approved\n* `declined` - declined"
},
"EventStatusEnum": {
"enum": [
"submitted",
"approved",
"declined",
"cancelled",
"closed"
],
"type": "string",
"description": "* `submitted` - submitted\n* `approved` - approved\n* `declined` - declined\n* `cancelled` - cancelled\n* `closed` - closed"
},
"GeoFeature": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the geographical feature"
},
"type": {
"type": "string",
"description": "Type of the feature (e.g., polygon, point)"
},
"coordinates": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Coordinate"
},
"description": "List of coordinate points defining the feature"
},
"polygonColor": {
"type": "string",
"description": "RGBA hex color for the polygon fill (e.g., 24589d0f)"
},
"lineColor": {
"type": "string",
"description": "RGBA hex color for the polygon border (e.g., ff589d0f)"
},
"attributes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Additional feature attributes from KML ExtendedData"
}
},
"required": [
"coordinates",
"name",
"type"
]
},
"IndividualApplicationRequest": {
"type": "object",
"properties": {
"ktp": {
"type": "string",
"minLength": 1,
"maxLength": 16
}
},
"required": [
"ktp"
]
},
"IndividualVerificationRequest": {
"type": "object",
"properties": {
"ktp": {
"type": "string",
"format": "binary"
}
},
"required": [
"ktp"
]
},
"NetworkEnum": {
"enum": [
"telegram",
"instagram",
"discord",
"whatsapp"
],
"type": "string",
"description": "* `telegram` - Telegram\n* `instagram` - Instagram\n* `discord` - Discord\n* `whatsapp` - Whatsapp"
},
"Notification": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"readOnly": true
},
"title": {
"type": "string",
"readOnly": true
},
"body": {
"type": "string",
"readOnly": true
},
"seenAt": {
"type": "string",
"format": "date-time",
"readOnly": true,
"nullable": true
},
"createdAtTimestamp": {
"type": "integer",
"readOnly": true
}
},
"required": [
"body",
"createdAtTimestamp",
"id",
"seenAt",
"title"
]
},
"OrderTicketItemRequest": {
"type": "object",
"properties": {
"categoryId": {
"type": "integer"
},
"categoryName": {
"type": "string",
"minLength": 1
},
"price": {
"type": "string",
"minLength": 1,
"description": "Token amount in micro-units (USDT 6 decimals), as a string.",
"pattern": "^\\d+$"
},
"quantity": {
"type": "integer",
"minimum": 1
}
},
"required": [
"categoryId",
"categoryName",
"price",
"quantity"
]
},
"ParseError": {
"type": "object",
"properties": {
"code": {
"$ref": "#/components/schemas/ParseErrorCodeEnum"
},
"detail": {
"type": "string"
},
"attr": {
"type": "string",
"nullable": true
}
},
"required": [
"attr",
"code",
"detail"
]
},
"ParseErrorCodeEnum": {
"enum": [
"parse_error"
],
"type": "string",
"description": "* `parse_error` - Parse Error"
},
"ParseErrorResponse": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ClientErrorEnum"
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParseError"
}
}
},
"required": [
"errors",
"type"
]
},
"RoleBasedEvent": {
"oneOf": [
{
"$ref": "#/components/schemas/CreatorEvent"
},
{
"$ref": "#/components/schemas/StaffEvent"
}
]
},
"SaveSocials": {
"type": "object",
"properties": {
"network": {
"$ref": "#/components/schemas/NetworkEnum"
},
"value": {
"type": "string"
}
},
"required": [
"network",
"value"
]
},
"SaveSocialsRequest": {
"type": "object",
"properties": {
"network": {
"$ref": "#/components/schemas/NetworkEnum"
},
"value": {
"type": "string",
"minLength": 1
}
},
"required": [
"network",
"value"
]
},
"SendSMSRequest": {
"type": "object",
"properties": {
"phoneNumber": {
"type": "string",
"minLength": 1,
"maxLength": 20
}
},
"required": [
"phoneNumber"
]
},
"SendSMSResponse": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"message": {
"type": "string"
},
"developmentNote": {
"type": "string"
}
},
"required": [
"message",
"success"
]
},
"ServerErrorEnum": {
"enum": [
"server_error"
],
"type": "string",
"description": "* `server_error` - Server Error"
},
"SiwePayload": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"chain_id": {
"type": "string"
},
"domain": {
"type": "string"
},
"expiration_time": {
"type": "string"
},
"invalid_before": {
"type": "string"
},
"issued_at": {
"type": "string"
},
"nonce": {
"type": "string"
},
"resources": {
"type": "array",
"items": {
"type": "string"
}
},
"statement": {
"type": "string"
},
"uri": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"address",
"chain_id",
"domain",
"expiration_time",
"invalid_before",
"issued_at",
"nonce",
"resources",
"statement",
"uri",
"version"
]
},
"SiwePayloadRequest": {
"type": "object",
"properties": {
"address": {
"type": "string",
"minLength": 1
},
"chain_id": {
"type": "string",
"minLength": 1
},
"domain": {
"type": "string",
"minLength": 1
},
"expiration_time": {
"type": "string",
"minLength": 1
},
"invalid_before": {
"type": "string",
"minLength": 1
},
"issued_at": {
"type": "string",
"minLength": 1
},
"nonce": {
"type": "string",
"minLength": 1
},
"resources": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"statement": {
"type": "string",
"minLength": 1
},
"uri": {
"type": "string",
"minLength": 1
},
"version": {
"type": "string",
"minLength": 1
}
},
"required": [
"address",
"chain_id",
"domain",
"expiration_time",
"invalid_before",
"issued_at",
"nonce",
"resources",
"statement",
"uri",
"version"
]
},
"SiwePayloadRequestPurposeEnum": {
"enum": [
"ticket_qr",
"staff_verify"
],
"type": "string",
"description": "* `ticket_qr` - ticket_qr\n* `staff_verify` - staff_verify"
},
"SiwePayloadRequestRequest": {
"type": "object",
"properties": {
"address": {
"type": "string",
"minLength": 1
},
"purpose": {
"$ref": "#/components/schemas/SiwePayloadRequestPurposeEnum"
}
},
"required": [
"address",
"purpose"
]
},
"SiwePayloadResponse": {
"type": "object",
"properties": {
"payload": {
"$ref": "#/components/schemas/SiwePayload"
},
"message": {
"type": "string"
}
},
"required": [
"message",
"payload"
]
},
"SiweVerifyRequestRequest": {
"type": "object",
"properties": {
"payload": {
"$ref": "#/components/schemas/SiwePayloadRequest"
},
"signature": {
"type": "string",
"minLength": 1
}
},
"required": [
"payload",
"signature"
]
},
"SiweVerifyResponse": {
"type": "object",
"properties": {
"proofToken": {
"type": "string"
},
"address": {
"type": "string"
},
"expiresAt": {
"type": "integer"
}
},
"required": [
"address",
"expiresAt",
"proofToken"
]
},
"Social": {
"type": "object",
"properties": {
"network": {
"$ref": "#/components/schemas/NetworkEnum"
},
"value": {
"type": "string"
}
},
"required": [
"network",
"value"
]
},
"Staff": {
"type": "object",
"properties": {
"address": {
"type": "string",
"readOnly": true
},
"socials": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Social"
},
"readOnly": true
}
},
"required": [
"address",
"socials"
]
},
"StaffEvent": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"readOnly": true
},
"creator": {
"$ref": "#/components/schemas/Creator"
},
"status": {
"$ref": "#/components/schemas/EventStatusEnum"
},
"title": {
"type": "string",
"maxLength": 200
},
"description": {
"type": "string"
},
"place": {
"$ref": "#/components/schemas/EventPlace"
},
"placeId": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"format": "int64",
"readOnly": true
},
"ticketPrice": {
"type": "string",
"readOnly": true
},
"ticketPriceRange": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"description": "Calculate the min and max available ticket prices from categories.\nExcludes categories that are sold out (quota exceeded).\nReturns None for min/max if no categories are available.",
"readOnly": true
},
"daysAmount": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": 0,
"format": "int64"
},
"imageUrl": {
"type": "string",
"format": "uri",
"nullable": true,
"maxLength": 200
},
"website": {
"type": "string",
"format": "uri",
"nullable": true,
"maxLength": 2048
},
"startDateTimestamp": {
"type": "integer",
"readOnly": true
},
"ticketsBought": {
"type": "integer",
"maximum": 9223372036854775807,
"minimum": 0,
"format": "int64"
},
"totalRevenue": {
"type": "string",
"readOnly": true
},
"paidDeposit": {
"type": "string",
"readOnly": true
},
"ticketsRequiredUntilCancel": {
"type": "integer",
"readOnly": true
},
"cancelDateTimestamp": {
"type": "integer",
"readOnly": true
}
},
"required": [
"cancelDateTimestamp",
"creator",
"daysAmount",
"description",
"id",
"paidDeposit",
"place",
"placeId",
"startDateTimestamp",
"ticketPrice",
"ticketPriceRange",
"ticketsBought",
"ticketsRequiredUntilCancel",
"title",
"totalRevenue"
]
},
"SubmitApplicationResponse": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"applicationType": {
"type": "string"
}
},
"required": [
"applicationType",
"message"
]
},
"TelegramLinkTokenRequestPurposeEnum": {
"enum": [
"link",
"verifyshaman"
],
"type": "string",
"description": "* `link` - Link Telegram\n* `verifyshaman` - Verify Shaman"
},
"TelegramLinkTokenRequestRequest": {
"type": "object",
"description": "Serializer for requesting a Telegram link token.\n\nThe user must be authenticated. The token will be used to link\ntheir Telegram account to their Ethereum address securely.",
"properties": {
"purpose": {
"allOf": [
{
"$ref": "#/components/schemas/TelegramLinkTokenRequestPurposeEnum"
}
],
"default": "link",
"description": "Purpose of the linking token\n\n* `link` - Link Telegram\n* `verifyshaman` - Verify Shaman"
}
}
},
"TelegramLinkTokenResponse": {
"type": "object",
"description": "Serializer for Telegram link token response.",
"properties": {
"hash": {
"type": "string",
"description": "The token hash to use in Telegram link"
},
"expiresIn": {
"type": "integer",
"description": "Token validity in seconds"
}
},
"required": [
"expiresIn",
"hash"
]
},
"Ticket": {
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"eventId": {
"type": "integer",
"readOnly": true
},
"isRedeemed": {
"type": "boolean",
"readOnly": true
},
"pendingIsRedeemed": {
"type": "boolean",
"readOnly": true
}
},
"required": [
"eventId",
"id",
"isRedeemed",
"pendingIsRedeemed"
]
},
"TicketCategory": {
"type": "object",
"properties": {
"categoryId": {
"type": "integer",
"readOnly": true
},
"name": {
"type": "string",
"readOnly": true
},
"discount": {
"type": "integer",
"readOnly": true
},
"quota": {
"type": "integer",
"readOnly": true
},
"hasQuota": {
"type": "boolean",
"readOnly": true
},
"ticketsBought": {
"type": "integer",
"readOnly": true
}
},
"required": [
"categoryId",
"discount",
"hasQuota",
"name",
"quota",
"ticketsBought"
]
},
"UploadEventMetaToIpfsRequest": {
"type": "object",
"properties": {
"address": {
"type": "string",
"minLength": 1
},
"cover": {
"type": "string",
"format": "binary"
},
"title": {
"type": "string",
"minLength": 1
},
"description": {
"type": "string",
"minLength": 1
},
"website": {
"type": "string",
"minLength": 1
},
"socialsCid": {
"type": "string",
"minLength": 1
}
},
"required": [
"address",
"cover",
"description",
"socialsCid",
"title",
"website"
]
},
"UploadOrderMetaToIpfsRequest": {
"type": "object",
"properties": {
"eventId": {
"type": "integer"
},
"buyerAddress": {
"type": "string",
"minLength": 1
},
"socials": {
"$ref": "#/components/schemas/UploadSocialsRequest"
},
"tickets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OrderTicketItemRequest"
}
},
"totalTickets": {
"type": "integer",
"minimum": 1
},
"totalPrice": {
"type": "string",
"minLength": 1,
"description": "Token amount in micro-units (USDT 6 decimals), as a string.",
"pattern": "^\\d+$"
},
"currency": {
"type": "string",
"minLength": 1,
"default": "USDC"
},
"referralData": {
"type": "string",
"default": ""
}
},
"required": [
"buyerAddress",
"eventId",
"socials",
"tickets",
"totalPrice",
"totalTickets"
]
},
"UploadPlaceMetaToIpfsRequest": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"description": "Title of the event place"
},
"geometry": {
"description": "Geometry with type and coordinates"
},
"eventDepositSize": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "Suggested deposit size for events at this place (in USDT)"
}
},
"required": [
"geometry",
"title"
]
},
"UploadSocials": {
"type": "object",
"properties": {
"network": {
"$ref": "#/components/schemas/NetworkEnum"
},
"value": {
"type": "string"
}
},
"required": [
"network",
"value"
]
},
"UploadSocialsRequest": {
"type": "object",
"properties": {
"network": {
"$ref": "#/components/schemas/NetworkEnum"
},
"value": {
"type": "string",
"minLength": 1
}
},
"required": [
"network",
"value"
]
},
"ValidationErrorEnum": {
"enum": [
"validation_error"
],
"type": "string",
"description": "* `validation_error` - Validation Error"
},
"VerifyCodeRequest": {
"type": "object",
"properties": {
"phoneNumber": {
"type": "string",
"minLength": 1,
"maxLength": 20
},
"verificationCode": {
"type": "string",
"minLength": 1,
"maxLength": 10
}
},
"required": [
"phoneNumber",
"verificationCode"
]
},
"VerifyCodeResponse": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"payload": {
"type": "object",
"additionalProperties": {}
},
"message": {
"type": "string"
}
},
"required": [
"message",
"payload",
"success"
]
}
}
}
}