builder
builder copied to clipboard
feat(spx-backend): implement Community API
Fixes #920
Breaking changes to the API spec
- Renamed
Model.cTimetoModel.createdAt. - Renamed
Model.uTimetoModel.updatedAt. - Renamed
IsPublictoVisibility. - Redesigned
Visibilityas a self-descriptive string enum instead of an integer enum. - Renamed
Asset.assetTypetoAsset.type. - Redesigned
Asset.typeas a self-descriptive string enum instead of an integer enum. - Changed endpoint
/user/following/{username}to/user/{username}/following. - Changed endpoint
/project/liking/{owner}/{name}to/project/{owner}/{name}/liking. - Removed the incorrectly added
requestBody.nameparameter fromPUT /project/{owner}/{name}. - Removed the unused
previewandclickCountproperties fromAsset.
This PR has been deployed to the preview environment. You can explore it using the preview URL.
[!WARNING] Please note that deployments in the preview environment are temporary and will be automatically cleaned up after a certain period. Make sure to explore it before it is removed. For any questions, contact the Go+ Builder team.
其他我没问题了
补充了测试 & 同步改动了前端,我本地测试了没啥问题,看看还需不需要再 review 下