builder icon indicating copy to clipboard operation
builder copied to clipboard

feat(spx-backend): implement Community API

Open aofei opened this issue 1 year ago • 1 comments

Fixes #920


Breaking changes to the API spec

  1. Renamed Model.cTime to Model.createdAt.
  2. Renamed Model.uTime to Model.updatedAt.
  3. Renamed IsPublic to Visibility.
  4. Redesigned Visibility as a self-descriptive string enum instead of an integer enum.
  5. Renamed Asset.assetType to Asset.type.
  6. Redesigned Asset.type as a self-descriptive string enum instead of an integer enum.
  7. Changed endpoint /user/following/{username} to /user/{username}/following.
  8. Changed endpoint /project/liking/{owner}/{name} to /project/{owner}/{name}/liking.
  9. Removed the incorrectly added requestBody.name parameter from PUT /project/{owner}/{name}.
  10. Removed the unused preview and clickCount properties from Asset.

aofei avatar Sep 27 '24 03:09 aofei

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.

qiniu-ci avatar Oct 15 '24 07:10 qiniu-ci

其他我没问题了

补充了测试 & 同步改动了前端,我本地测试了没啥问题,看看还需不需要再 review 下

aofei avatar Oct 15 '24 07:10 aofei