API参考
ZEPETO World Open API
列出世界内容
1 分
{ "name" "返回创建的世界信息", "method" "get", "url" "https //openapi zepeto zone/content/v1/worlds", "description" "", "tab" "示例", "examples" { "languages" \[ { "id" "vyggtbvq j 8gfvvgtr9t", "language" "javascript", "code" "curl request get \\\\\n url 'https //openapi zepeto zone/content/v1/worlds?page=0\&size=20' \\\\\n header 'accept application/json'", "customlabel" "" } ], "selectedlanguageid" "vyggtbvq j 8gfvvgtr9t" }, "results" { "languages" \[ { "id" "jrfsy8ntfw5jabsaepp6l", "language" "200", "customlabel" "", "code" "{\n \\"worlds\\" \[\n {\n \\"worldid\\" \\"字符串\\",\n \\"worldname\\" \\"字符串\\",\n \\"worldcategoryfirst\\" \\"字符串\\",\n \\"worldcategorysecond\\" \\"字符串\\",\n \\"worldtotalusercounts\\" 0,\n \\"worldtotalvisitcounts\\" 0,\n \\"worldversion\\" 0\n }\n ],\n \\"totalpage\\" 0,\n \\"totalcount\\" 0\n}" }, { "id" "yt4wkhpdbr eixqygt4qx", "language" "500", "customlabel" "", "code" "{\n \\"message\\" \\"错误信息\\"\n}" } ], "selectedlanguageid" "yt4wkhpdbr eixqygt4qx" }, "request" { "pathparameters" \[], "queryparameters" \[ { "name" "page", "kind" "optional", "type" "number", "description" "页码\n 从0开始\n 默认 0", "children" \[] }, { "name" "size", "kind" "optional", "type" "number", "description" "页面大小\n 默认 20\n 最大 50", "children" \[] } ], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "currentnewparameter" { "label" "查询参数", "value" "queryparameters" }, "response" \[ { "name" "worlds", "kind" "optional", "type" "array", "description" "世界信息列表" }, { "name" "worldid", "kind" "optional", "type" "string", "description" "世界id", "children" \[] }, { "name" "worldname", "kind" "optional", "type" "string", "description" "世界名称", "children" \[] }, { "name" "worldcategoryfirst", "kind" "optional", "type" "string", "description" "世界的第一类别", "children" \[] }, { "name" "worldcategorysecond", "kind" "optional", "type" "string", "description" "世界的第二类别", "children" \[] }, { "name" "worldtotalusercounts", "kind" "optional", "type" "number", "description" "世界中独立用户的累计总数", "children" \[] }, { "name" "worldtotalvisitcounts", "kind" "optional", "type" "number", "description" "世界中访问的累计总数", "children" \[] }, { "name" "totalpage", "kind" "optional", "type" "string", "description" "总页数", "children" \[] }, { "name" "totalcount", "kind" "optional", "type" "string", "description" "内容总数", "children" \[] } ] }