You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
706 B
33 lines
706 B
import type { errors } from '@strapi/utils';
|
|
import type { Core } from '@strapi/types';
|
|
|
|
/**
|
|
* GET /content-api/permissions - Get the permissions of all content types
|
|
*/
|
|
export declare namespace GetPermissions {
|
|
export interface Request {
|
|
query: {};
|
|
body: {};
|
|
}
|
|
|
|
export interface Response {
|
|
data: Record<string, { controllers: Record<string, string[]> }>;
|
|
error?: errors.ApplicationError;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* GET /content-api/routes - Get the routes of all content types
|
|
*/
|
|
export declare namespace GetRoutes {
|
|
export interface Request {
|
|
query: {};
|
|
body: {};
|
|
}
|
|
|
|
export interface Response {
|
|
data: Record<string, Core.Route[]>;
|
|
error?: errors.ApplicationError;
|
|
}
|
|
}
|