Updated docs for notifier/service-seadex
Linked build commit: 2622944efe
This commit is contained in:
1 parent
c1b313b226
commit
fac3434b35
2 files changed
+200
-124
No files matched your search
@@ -5,25 +5,10 @@
|
||||
"version": "0.1.0"
|
||||
},
|
||||
"paths": {
|
||||
"/update/{repository_type}": {
|
||||
"/admin/update/names": {
|
||||
"post": {
|
||||
"summary": "Update Watched Repositories",
|
||||
"operationId": "update_watched_repositories_update__repository_type__post",
|
||||
"security": [
|
||||
{
|
||||
"HTTPBearer": []
|
||||
}
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "repository_type",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RepositoryType"
|
||||
}
|
||||
}
|
||||
],
|
||||
"summary": "Update All Names To Most Recently Available",
|
||||
"operationId": "update_all_names_to_most_recently_available_admin_update_names_post",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful Response",
|
||||
@@ -32,24 +17,40 @@
|
||||
"schema": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"422": {
|
||||
"description": "Validation Error",
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"HTTPBearer": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/update": {
|
||||
"post": {
|
||||
"summary": "Check Seadex",
|
||||
"operationId": "check_seadex_update_post",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/HTTPValidationError"
|
||||
}
|
||||
"schema": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{
|
||||
"HTTPBearer": []
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"/repository/add": {
|
||||
"/anime/add": {
|
||||
"post": {
|
||||
"summary": "Add Repository Subscription",
|
||||
"operationId": "add_repository_subscription_repository_add_post",
|
||||
"summary": "Add Anime",
|
||||
"operationId": "add_anime_anime_add_post",
|
||||
"security": [
|
||||
{
|
||||
"HTTPBearer": []
|
||||
@@ -72,7 +73,7 @@
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RepositoryUpdate"
|
||||
"$ref": "#/components/schemas/AnimeCreate"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -99,10 +100,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/repository/delete": {
|
||||
"/anime/delete": {
|
||||
"post": {
|
||||
"summary": "Delete Repository Subscription",
|
||||
"operationId": "delete_repository_subscription_repository_delete_post",
|
||||
"summary": "Remove Anime",
|
||||
"operationId": "remove_anime_anime_delete_post",
|
||||
"security": [
|
||||
{
|
||||
"HTTPBearer": []
|
||||
@@ -125,7 +126,7 @@
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RepositoryUpdate"
|
||||
"$ref": "#/components/schemas/AnimeRemove"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -152,10 +153,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/repository/list": {
|
||||
"/anime/list": {
|
||||
"get": {
|
||||
"summary": "List Subscribed Repositories",
|
||||
"operationId": "list_subscribed_repositories_repository_list_get",
|
||||
"summary": "List Active And Inactive Anime",
|
||||
"operationId": "list_active_and_inactive_anime_anime_list_get",
|
||||
"security": [
|
||||
{
|
||||
"HTTPBearer": []
|
||||
@@ -178,7 +179,9 @@
|
||||
"description": "Successful Response",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {}
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/AnimeList"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -198,46 +201,12 @@
|
||||
},
|
||||
"components": {
|
||||
"schemas": {
|
||||
"HTTPValidationError": {
|
||||
"AnimeCreate": {
|
||||
"properties": {
|
||||
"detail": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ValidationError"
|
||||
},
|
||||
"type": "array",
|
||||
"title": "Detail"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"title": "HTTPValidationError"
|
||||
},
|
||||
"RepositoryType": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"github",
|
||||
"dockerhub"
|
||||
],
|
||||
"title": "RepositoryType"
|
||||
},
|
||||
"RepositoryUpdate": {
|
||||
"properties": {
|
||||
"type": {
|
||||
"$ref": "#/components/schemas/RepositoryType"
|
||||
},
|
||||
"org": {
|
||||
"type": "string",
|
||||
"maxLength": 39,
|
||||
"title": "Org"
|
||||
},
|
||||
"repo": {
|
||||
"type": "string",
|
||||
"maxLength": 255,
|
||||
"title": "Repo"
|
||||
},
|
||||
"tag": {
|
||||
"type": "string",
|
||||
"maxLength": 128,
|
||||
"title": "Tag"
|
||||
"anilist_id": {
|
||||
"type": "integer",
|
||||
"exclusiveMinimum": 0.0,
|
||||
"title": "Anilist Id"
|
||||
},
|
||||
"custom_name": {
|
||||
"anyOf": [
|
||||
@@ -254,12 +223,109 @@
|
||||
},
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type",
|
||||
"org",
|
||||
"repo",
|
||||
"tag"
|
||||
"anilist_id"
|
||||
],
|
||||
"title": "RepositoryUpdate"
|
||||
"title": "AnimeCreate"
|
||||
},
|
||||
"AnimeEntry": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Name"
|
||||
},
|
||||
"anilist_id": {
|
||||
"type": "integer",
|
||||
"title": "Anilist Id"
|
||||
},
|
||||
"last_updated": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"title": "Last Updated"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"anilist_id"
|
||||
],
|
||||
"title": "AnimeEntry"
|
||||
},
|
||||
"AnimeList": {
|
||||
"properties": {
|
||||
"active": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/AnimeEntry"
|
||||
},
|
||||
"type": "array",
|
||||
"title": "Active"
|
||||
},
|
||||
"inactive": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/AnimeEntry"
|
||||
},
|
||||
"type": "array",
|
||||
"title": "Inactive"
|
||||
},
|
||||
"counts": {
|
||||
"$ref": "#/components/schemas/Counts",
|
||||
"readOnly": true
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"required": [
|
||||
"counts"
|
||||
],
|
||||
"title": "AnimeList"
|
||||
},
|
||||
"AnimeRemove": {
|
||||
"properties": {
|
||||
"anilist_id": {
|
||||
"type": "integer",
|
||||
"title": "Anilist Id"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"required": [
|
||||
"anilist_id"
|
||||
],
|
||||
"title": "AnimeRemove"
|
||||
},
|
||||
"Counts": {
|
||||
"properties": {
|
||||
"active": {
|
||||
"type": "integer",
|
||||
"title": "Active"
|
||||
},
|
||||
"inactive": {
|
||||
"type": "integer",
|
||||
"title": "Inactive"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"required": [
|
||||
"active",
|
||||
"inactive"
|
||||
],
|
||||
"title": "Counts"
|
||||
},
|
||||
"HTTPValidationError": {
|
||||
"properties": {
|
||||
"detail": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ValidationError"
|
||||
},
|
||||
"type": "array",
|
||||
"title": "Detail"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"title": "HTTPValidationError"
|
||||
},
|
||||
"ValidationError": {
|
||||
"properties": {
|
||||
|
||||
Reference in new issue
Block a user