mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 04:43:09 +02:00
clean up
This commit is contained in:
parent
35b1f73b51
commit
b5852f6053
1 changed files with 11 additions and 11 deletions
|
@ -2320,7 +2320,7 @@ export const endpoints = {
|
||||||
},
|
},
|
||||||
'app/show': {
|
'app/show': {
|
||||||
tags: ['app'],
|
tags: ['app'],
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
noSuchApp: {
|
noSuchApp: {
|
||||||
message: 'No such app.',
|
message: 'No such app.',
|
||||||
|
@ -2347,9 +2347,9 @@ export const endpoints = {
|
||||||
//#region auth
|
//#region auth
|
||||||
'auth/session/genrate': {
|
'auth/session/genrate': {
|
||||||
tags: ['auth'],
|
tags: ['auth'],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: false,
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
noSuchApp: {
|
noSuchApp: {
|
||||||
message: 'No such app.',
|
message: 'No such app.',
|
||||||
|
@ -2378,9 +2378,9 @@ export const endpoints = {
|
||||||
},
|
},
|
||||||
'auth/session/show': {
|
'auth/session/show': {
|
||||||
tags: ['auth'],
|
tags: ['auth'],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: false,
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
noSuchSession: {
|
noSuchSession: {
|
||||||
message: 'No such session.',
|
message: 'No such session.',
|
||||||
|
@ -2404,29 +2404,29 @@ export const endpoints = {
|
||||||
},
|
},
|
||||||
'auth/session/userkey': {
|
'auth/session/userkey': {
|
||||||
tags: ['auth'],
|
tags: ['auth'],
|
||||||
|
|
||||||
requireCredential: false,
|
requireCredential: false,
|
||||||
|
|
||||||
errors: {
|
errors: {
|
||||||
noSuchApp: {
|
noSuchApp: {
|
||||||
message: 'No such app.',
|
message: 'No such app.',
|
||||||
code: 'NO_SUCH_APP',
|
code: 'NO_SUCH_APP',
|
||||||
id: 'fcab192a-2c5a-43b7-8ad8-9b7054d8d40d',
|
id: 'fcab192a-2c5a-43b7-8ad8-9b7054d8d40d',
|
||||||
},
|
},
|
||||||
|
|
||||||
noSuchSession: {
|
noSuchSession: {
|
||||||
message: 'No such session.',
|
message: 'No such session.',
|
||||||
code: 'NO_SUCH_SESSION',
|
code: 'NO_SUCH_SESSION',
|
||||||
id: '5b5a1503-8bc8-4bd0-8054-dc189e8cdcb3',
|
id: '5b5a1503-8bc8-4bd0-8054-dc189e8cdcb3',
|
||||||
},
|
},
|
||||||
|
|
||||||
pendingSession: {
|
pendingSession: {
|
||||||
message: 'This session is not completed yet.',
|
message: 'This session is not completed yet.',
|
||||||
code: 'PENDING_SESSION',
|
code: 'PENDING_SESSION',
|
||||||
id: '8c8a4145-02cc-4cca-8e66-29ba60445a8e',
|
id: '8c8a4145-02cc-4cca-8e66-29ba60445a8e',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
defines: [{
|
defines: [{
|
||||||
req: {
|
req: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
@ -2442,7 +2442,7 @@ export const endpoints = {
|
||||||
accessToken: { type: 'string' },
|
accessToken: { type: 'string' },
|
||||||
user: {
|
user: {
|
||||||
$ref: 'https://misskey-hub.net/api/schemas/UserDetailedNotMe',
|
$ref: 'https://misskey-hub.net/api/schemas/UserDetailedNotMe',
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
required: ['accessToken', 'user'],
|
required: ['accessToken', 'user'],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue