mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-08-26 12:35:48 -04:00
Generate OAPI
This commit is contained in:
+64
-12
@@ -25,6 +25,10 @@
|
||||
"name": "Onboarding",
|
||||
"description": "After signing up to Revolt, users must pick a unique username."
|
||||
},
|
||||
{
|
||||
"name": "Auth",
|
||||
"description": "Authenticate with Revolt"
|
||||
},
|
||||
{
|
||||
"name": "User Information",
|
||||
"description": "Query and fetch users on Revolt"
|
||||
@@ -94,6 +98,12 @@
|
||||
"Onboarding"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Auth",
|
||||
"tags": [
|
||||
"Auth"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Users",
|
||||
"tags": [
|
||||
@@ -226,7 +236,7 @@
|
||||
"summary": "Create Account",
|
||||
"description": "Create a new account.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Create Data",
|
||||
@@ -269,7 +279,7 @@
|
||||
"summary": "Resend Verification",
|
||||
"description": "Resend account creation verification email.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Resend Data",
|
||||
@@ -306,7 +316,7 @@
|
||||
"summary": "Login",
|
||||
"description": "Create a new session.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Login Data",
|
||||
@@ -351,7 +361,7 @@
|
||||
"summary": "Send Password Reset",
|
||||
"description": "Send password reset email.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Reset Data",
|
||||
@@ -388,7 +398,7 @@
|
||||
"summary": "Password Reset",
|
||||
"description": "Confirm password reset.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Reset Data",
|
||||
@@ -428,7 +438,7 @@
|
||||
"summary": "Fetch Account",
|
||||
"description": "Fetch account information.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -455,7 +465,7 @@
|
||||
"summary": "Check Auth",
|
||||
"description": "Check if we are authenticated.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -475,7 +485,7 @@
|
||||
"summary": "Change Password",
|
||||
"description": "Change account password.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Change Data",
|
||||
@@ -523,7 +533,7 @@
|
||||
"summary": "Change Email",
|
||||
"description": "Change account email.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"requestBody": {
|
||||
"description": "Change Data",
|
||||
@@ -569,7 +579,7 @@
|
||||
"summary": "Delete Session",
|
||||
"description": "Delete existing session.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
@@ -600,7 +610,7 @@
|
||||
"summary": "Fetch Sessions",
|
||||
"description": "Fetch all sessions.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -645,7 +655,7 @@
|
||||
"summary": "Logout",
|
||||
"description": "Delete current session.",
|
||||
"tags": [
|
||||
"Onboarding"
|
||||
"Auth"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -15828,6 +15838,48 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"SetSettingsData": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"definitions": {
|
||||
"AttachmentTag": {
|
||||
"description": "Attachment tag",
|
||||
"enum": [
|
||||
"attachments",
|
||||
"avatars",
|
||||
"backgrounds",
|
||||
"banners",
|
||||
"icons"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"RelationshipStatus": {
|
||||
"description": "Your relationship with the user",
|
||||
"enum": [
|
||||
"Blocked",
|
||||
"BlockedOther",
|
||||
"Friend",
|
||||
"Incoming",
|
||||
"None",
|
||||
"Outgoing",
|
||||
"User"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"Presence": {
|
||||
"description": "User presence",
|
||||
"enum": [
|
||||
"Busy",
|
||||
"Idle",
|
||||
"Invisible",
|
||||
"Online"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Id": {
|
||||
"description": "Id",
|
||||
"pattern": "[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}",
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user