From 35410be88ab3f7c2010f46114fa24cfacdcc5bc3 Mon Sep 17 00:00:00 2001 From: jixudong Date: Thu, 14 Dec 2023 18:08:58 +0800 Subject: [PATCH] Replace 项目列表-角色.md --- gameditor/前端接口/项目列表-角色.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\247\222\350\211\262.md" "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\247\222\350\211\262.md" index c408e14..ad561a0 100644 --- "a/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\247\222\350\211\262.md" +++ "b/gameditor/\345\211\215\347\253\257\346\216\245\345\217\243/\351\241\271\347\233\256\345\210\227\350\241\250-\350\247\222\350\211\262.md" @@ -371,14 +371,20 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/npc/class?npcClass } ``` -### 获取全部角色 +### 获取全部角色通过项目id **METHOD**: GET -**path**: api/platform/design/npc/instance_by_project_id +**path**: api/platform/design/npc/instance_by_project_id/{projectId} **RequestHeaders:** 同创作平台请求header +#### 请求path字段说明 + +| key | type | required | description | +| --------- | ------ | -------- | ----------- | +| projectId | number | yes | 项目id | + #### 请求param字段说明 | key | type | required | description | @@ -919,9 +925,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/npc/instance/' \ #### 请求path字段说明 -| key | type | required | description | -| ---- | ---- | -------- | ----------- | -| id | | yes | 角色实例ID | +| key | type | required | description | +| ---- | ------ | -------- | ----------- | +| id | number | yes | 角色实例ID | #### 请求param字段说明 -- libgit2 0.27.1