31 lines
743 B
TypeScript
31 lines
743 B
TypeScript
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 {
|
|
interface Request {
|
|
query: {};
|
|
body: {};
|
|
}
|
|
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 {
|
|
interface Request {
|
|
query: {};
|
|
body: {};
|
|
}
|
|
interface Response {
|
|
data: Record<string, Core.Route[]>;
|
|
error?: errors.ApplicationError;
|
|
}
|
|
}
|