fusenapi/server_api/render.api

38 lines
758 B
Plaintext
Raw Normal View History

2023-06-29 10:04:59 +00:00
syntax = "v1"
info (
title: "渲染"// TODO: add title
desc: // TODO: add description
author: ""
email: ""
)
import "basic.api"
type RequestToUnity {
}
type RequestReadImages {
}
service render {
2023-08-07 04:31:31 +00:00
//云渲染完了通知接口
@handler RenderNotifyHandler
post /api/render/render_notify(RenderNotifyReq) returns (response);
2023-08-07 09:19:55 +00:00
//获取面片信息
@handler GetFaceSliceHandler
post /api/render/get_face_slice(request) returns (response);
2023-08-07 04:31:31 +00:00
}
//渲染完了通知接口
type RenderNotifyReq {
Sign string `json:"sign"`
Time int64 `json:"time"`
Info NotifyInfo `json:"info"`
}
type NotifyInfo {
2023-08-09 06:12:58 +00:00
TaskId string `json:"task_id"` //任务id
UserId int64 `json:"user_id"`
GuestId int64 `json:"guest_id"`
Image string `json:"image"`
2023-06-29 10:04:59 +00:00
}