1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 12:14:18 +00:00

Merge branch 'stable' into 'stable'

fix: add required scopes for authenticated endpoints (MR #3 in Pawkey) to...

See merge request pawkey/pawkey!10
This commit is contained in:
Leafus
2025-09-04 11:59:59 +02:00
48 changed files with 98 additions and 1 deletions

View File

@@ -16,6 +16,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -14,6 +14,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'object',
optional: false, nullable: false,

View File

@@ -14,6 +14,8 @@ export const meta = {
requireCredential: true,
kind: 'read:channels',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -17,6 +17,8 @@ export const meta = {
requireCredential: true,
kind: 'read:channels',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -15,6 +15,8 @@ export const meta = {
requireCredential: true,
kind: 'read:channels',
res: {
type: 'object',
optional: false, nullable: false,

View File

@@ -21,6 +21,8 @@ export const meta = {
requireCredential: true,
kind: 'read:channels',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -14,6 +14,9 @@ export const meta = {
tags: ['meta'],
requireCredential: true,
kind: 'read:account',
allowGet: true,
cacheSec: 3600,

View File

@@ -13,6 +13,9 @@ export const meta = {
tags: ['meta'],
requireCredential: true,
kind: 'read:account',
allowGet: true,
cacheSec: 3600,

View File

@@ -9,6 +9,7 @@ import endpoints from '../endpoints.js';
export const meta = {
requireCredential: true,
kind: 'read:account',
tags: ['meta'],

View File

@@ -9,6 +9,7 @@ import endpoints from '../endpoints.js';
export const meta = {
requireCredential: true,
kind: 'read:account',
tags: ['meta'],

View File

@@ -14,6 +14,7 @@ export const meta = {
tags: ['meta'],
requireCredential: true,
kind: 'read:account',
allowGet: true,
cacheSec: 60 * 3,

View File

@@ -14,6 +14,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -14,6 +14,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -16,6 +16,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'object',
optional: false, nullable: false,

View File

@@ -13,6 +13,9 @@ export const meta = {
tags: ['hashtags'],
requireCredential: true,
kind: 'read:account',
allowGet: true,
cacheSec: 60 * 1,

View File

@@ -17,6 +17,8 @@ export const meta = {
tags: ['hashtags', 'users'],
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -15,6 +15,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -18,6 +18,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -16,6 +16,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -17,6 +17,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -17,6 +17,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -19,6 +19,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -22,6 +22,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -17,6 +17,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
allowGet: true,
cacheSec: 60,

View File

@@ -15,6 +15,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -18,6 +18,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -15,6 +15,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -16,6 +16,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'object',
optional: false, nullable: false,

View File

@@ -16,6 +16,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
items: {

View File

@@ -14,6 +14,8 @@ export const meta = {
requireCredential: true,
kind: 'read:pages',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -17,6 +17,8 @@ export const meta = {
requireCredential: true,
kind: 'read:pages',
res: {
type: 'object',
optional: false, nullable: false,

View File

@@ -17,6 +17,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -15,6 +15,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
errors: {
noSuchRole: {
message: 'No such role.',

View File

@@ -17,6 +17,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
errors: {
noSuchRole: {
message: 'No such role.',

View File

@@ -18,6 +18,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -11,6 +11,8 @@ import { DI } from '@/di-symbols.js';
export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
items: {

View File

@@ -15,6 +15,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
description: 'Show all clips this user owns.',
res: {

View File

@@ -17,6 +17,9 @@ export const meta = {
tags: ['notes'],
requireCredential: true,
kind: 'read:account',
allowGet: true,
cacheSec: 3600,

View File

@@ -15,6 +15,8 @@ export const meta = {
requireCredential: true,
kind: 'read:flash',
description: 'Show all flashs this user created.',
res: {

View File

@@ -20,6 +20,8 @@ export const meta = {
requireCredential: true,
kind: 'read:following',
description: 'Show everyone that follows this user.',
res: {

View File

@@ -21,6 +21,8 @@ export const meta = {
requireCredential: true,
kind: 'read:following',
description: 'Show everyone that this user is following.',
res: {

View File

@@ -18,6 +18,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
description: 'Get a list of other users that the specified user frequently replies to.',
res: {

View File

@@ -23,6 +23,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
res: {
type: 'array',
optional: false, nullable: false,

View File

@@ -15,6 +15,8 @@ export const meta = {
requireCredential: true,
kind: 'read:pages',
description: 'Show all pages this user created.',
res: {

View File

@@ -20,6 +20,8 @@ export const meta = {
requireCredential: true,
kind: 'read:reactions',
description: 'Show all reactions this user made.',
res: {

View File

@@ -12,6 +12,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
description: 'Search for a user by username and/or host.',
res: {

View File

@@ -14,6 +14,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
description: 'Search for users.',
res: {

View File

@@ -23,6 +23,8 @@ export const meta = {
requireCredential: true,
kind: 'read:account',
description: 'Show the properties of a user.',
res: {