-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathapi_doc.json
1 lines (1 loc) · 7.62 KB
/
api_doc.json
1
{"swagger": "2.0", "basePath": "/", "paths": {"/api/": {"get": {"responses": {"200": {"description": "Success"}}, "operationId": "get_home", "tags": ["api"]}}, "/api/AnimeFLV/": {"get": {"responses": {"200": {"description": "Server is OK"}}, "description": "Index endpoint", "operationId": "get_home", "tags": ["AnimeFLV"]}}, "/api/AnimeFLV/episodes": {"post": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Search an anime episodes list", "operationId": "post_episodes", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/Episodes List AnimeFLV"}}, {"description": "Anime last Id", "name": "last_id", "type": "string", "in": "query"}, {"description": "Anime name used in AnimeFLV endpoint", "name": "slug", "type": "string", "in": "query"}], "tags": ["AnimeFLV"]}}, "/api/AnimeFLV/feed": {"get": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Get today feed", "operationId": "get_feed", "tags": ["AnimeFLV"]}}, "/api/AnimeFLV/genre": {"post": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Get animes related with specific genre", "operationId": "post_genre", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/Genre search AnimeFLV"}}, {"description": "Genre type", "name": "type", "type": "string", "in": "query"}], "tags": ["AnimeFLV"]}}, "/api/AnimeFLV/genre/list": {"get": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Get genre list", "operationId": "get_genre_list", "tags": ["AnimeFLV"]}}, "/api/AnimeFLV/list": {"get": {"responses": {"200": {"description": "Request was successful"}, "500": {"description": "Internal server error"}}, "description": "Get AnimeFLV anime library", "operationId": "get_list", "tags": ["AnimeFLV"]}}, "/api/AnimeFLV/search": {"post": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Search for an anime in AnimeFLV", "operationId": "post_search", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/Search AnimeFLV"}}, {"description": "String to search in AnimeFLV", "name": "value", "type": "string", "in": "query"}], "tags": ["AnimeFLV"]}}, "/api/AnimeFLV/watch": {"post": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Get episode streaming options", "operationId": "post_watch", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/Watch Episode AnimeFLV"}}, {"description": "Episode id", "name": "id_episode", "type": "string", "in": "query"}, {"description": "Anime name used in AnimeFLV endpoint", "name": "slug", "type": "string", "in": "query"}, {"description": "Eposide number", "name": "no_episode", "type": "string", "in": "query"}], "tags": ["AnimeFLV"]}}, "/api/JKanime/": {"get": {"responses": {"200": {"description": "Server is OK"}}, "description": "Index endpoint", "operationId": "get_home", "tags": ["JKanime"]}}, "/api/JKanime/episodes": {"post": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Search an anime episodes list", "operationId": "post_episodes", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/Episodes List JKanime"}}, {"description": "Anime name used in JKanime endpoint", "name": "slug", "type": "string", "in": "query"}], "tags": ["JKanime"]}}, "/api/JKanime/feed": {"get": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Get feed", "operationId": "get_feed", "tags": ["JKanime"]}}, "/api/JKanime/genre": {"post": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Get animes related with specific genre", "operationId": "post_genre", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/Genre search JKanime"}}, {"description": "Genre type", "name": "type", "type": "string", "in": "query"}], "tags": ["JKanime"]}}, "/api/JKanime/genre/list": {"get": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Get genre list", "operationId": "get_genre_list", "tags": ["JKanime"]}}, "/api/JKanime/list": {"get": {"responses": {"200": {"description": "Request was successful"}, "500": {"description": "Internal server error"}}, "description": "Get JKanime anime library", "operationId": "get_list", "tags": ["JKanime"]}}, "/api/JKanime/search": {"post": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Search for an anime in JKanime", "operationId": "post_search", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/Search JKanime"}}, {"description": "String to search in JKanime", "name": "value", "type": "string", "in": "query"}], "tags": ["JKanime"]}}, "/api/JKanime/watch": {"post": {"responses": {"200": {"description": "Request was successful"}, "400": {"description": "Bad request"}, "500": {"description": "Internal server error"}}, "description": "Get episode streaming options", "operationId": "post_watch", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/Watch Episode JKanime"}}, {"description": "Anime name used in JKanime endpoint", "name": "slug", "type": "string", "in": "query"}, {"description": "Eposide number", "name": "no_episode", "type": "string", "in": "query"}], "tags": ["JKanime"]}}}, "info": {"title": "API", "version": "1.0"}, "produces": ["application/json"], "consumes": ["application/json"], "tags": [{"name": "api", "description": "Index of main API"}, {"name": "AnimeFLV", "description": "AnimeFLV API"}, {"name": "JKanime", "description": "JKanime API"}], "definitions": {"Search AnimeFLV": {"properties": {"value": {"type": "string"}}, "type": "object"}, "Episodes List AnimeFLV": {"properties": {"last_id": {"type": "integer"}, "slug": {"type": "string"}}, "type": "object"}, "Watch Episode AnimeFLV": {"properties": {"id_episode": {"type": "integer"}, "slug": {"type": "string"}, "no_episode": {"type": "integer"}}, "type": "object"}, "Genre search AnimeFLV": {"properties": {"type": {"type": "string"}}, "type": "object"}, "Search JKanime": {"properties": {"value": {"type": "string"}}, "type": "object"}, "Genre search JKanime": {"properties": {"type": {"type": "string"}}, "type": "object"}, "Episodes List JKanime": {"properties": {"slug": {"type": "string"}}, "type": "object"}, "Watch Episode JKanime": {"properties": {"slug": {"type": "string"}, "no_episode": {"type": "integer"}}, "type": "object"}}, "responses": {"ParseError": {"description": "When a mask can't be parsed"}, "MaskError": {"description": "When any error occurs on mask"}}}