fusenapi/server_api/render.api
laodaming 74708d3b21 fix
2023-08-07 17:19:55 +08:00

36 lines
689 B
Plaintext

syntax = "v1"
info (
title: "渲染"// TODO: add title
desc: // TODO: add description
author: ""
email: ""
)
import "basic.api"
type RequestToUnity {
}
type RequestReadImages {
}
service render {
//云渲染完了通知接口
@handler RenderNotifyHandler
post /api/render/render_notify(RenderNotifyReq) returns (response);
//获取面片信息
@handler GetFaceSliceHandler
post /api/render/get_face_slice(request) returns (response);
}
//渲染完了通知接口
type RenderNotifyReq {
Sign string `json:"sign"`
Time int64 `json:"time"`
Info NotifyInfo `json:"info"`
}
type NotifyInfo {
TaskId string `json:"task_id"` //任务id
Image string `json:"image"`
}