展示某个项目
开发环境
开发环境
GET
api/v1/projects/ {projectId}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.comapi/v1/projects/ ?width=100%25&height=auto' \
--header 'authorization;'
响应示例响应示例
200 - 成功示例
{
"status": "success",
"data": {
"id": 1,
"project_name": "My Project",
"sitemap_path": "https://www.example.com/sitemap.xml",
"is_chat_active": true,
"user_id": 1,
"team_id": 1,
"created_at": "2021-01-01 00:00:00",
"updated_at": "2021-01-01 00:00:00",
"deleted_at": "2021-01-01 00:00:00",
"type": "SITEMAP",
"is_shared": true,
"shareable_slug": "1234567890abcdef1234567890abcdef",
"shareable_link": "string",
"embed_code": "string",
"live_chat_code": "string"
}
}
请求参数
Path 参数
projectId
string
必需
Query 参数
width
string
可选
示例值:
100%25
height
string
可选
示例值:
auto
Header 参数
authorization
string
必需
返回响应
修改于 2024-02-22 02:54:52