MCSchematic
2025年3月19日大约 1 分鐘
https://www.mcschematic.top/api/Authentication
All authentication information is passed in the Cookie in headers.
Cookies: stringuuid={uuid}; user_auth={user_auth}uuid: UUID of the useruser_auth: session token
General
GET schematics
Get a list of schematics.
Response Types
type Response = type schematicsData_ = {
uuid: string;
type: number;
bgType: number;
belong: number;
heat: number;
author: string;
nickName: string;
authority: number;
avatarUrl: string;
size: string;
name: string;
tags: string;
description: string;
userPrivate: number;
updateTime: string;
uploadTime: string;
imgs: string;
models: string;
}[];Parameters
begin: integer: index of the first schematicfilter: string: filter by schematic nameheatSort: boolean: sort by heattype: integer: filter by schematic type0: Public schematic1: Preferred schematic
GET mods
Get a list of mods.
type Response = {
data: {
modId: String,
version: String,
displayName: String,
description: String,
blocks: String[]
}[];
};User
GET userSchematics Authentication Required
Get a list of user's schematics.
Parameters
begin: integer: index of the first schematicfilter: string: filter by schematic nameheatSort: boolean: sort by heat
GET collections Authentication Required
Get a list of user's collections.
Parameters
begin: integer: index of the first schematicfilter: string: filter by schematic nameheatSort: boolean: sort by heat
GET addUserCollections Authentication Required
Add a schematic to user's collections.
Parameters
uuid: string: UUID of the schematic
GET removeUserCollections Authentication Required
Remove a schematic from user's collections.
Parameters
uuid: string: UUID of the schematic
Information
GET preview
Get the preview of a schematic.
Parameters
uuid: string: UUID of the schematic
GET markdown
Get the markdown of a schematic.
Parameters
uuid: string: UUID of the schematic
GET requirements
Get the requirement blocks of a schematic.
Parameters
uuid: string: UUID of the schematic
Download
GET schematicFile
Get the schematic file.
Parameters
uuid: string: UUID of the schematic
GET modules/{uuid}.obj Restful
Get the OBJ file of a schematic.
GET modules/{uuid}.mtl Restful
Get the MTL file of a schematic.
GET MtlImages
Get the block textures of a schematic.
Parameters
uuid: string: UUID of the schematic
GET convertSchematicFile
Covert the schematic file to a different format.
Parameters
uuid: string: UUID of the schematictype: number: type of the file0: Vanilla Schematic / Create Schematic1: Litematica Schematic2: Building Gadgets Schematic3: WorldEdit Schematic
bgType: number: version of the Building Gadgets Schematic0: 1.20+1: 1.16+2: 1.12+