interface_test_bodies.tsv 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. method path json
  2. POST /api/admin/health-plan/delete {"planId":1}
  3. POST /api/admin/indicator/backfill {"subjectId":1,"reportId":1,"limit":1,"dryRun":"x","fixReportDates":"x"}
  4. POST /api/auth/check-phone {"phone":"13800138000"}
  5. POST /api/auth/phone-login {"phone":"13800138000","code":"000000"}
  6. POST /api/auth/register-with-invite {"inviteCode":"000000"}
  7. POST /api/auth/send-code {"phone":"13800138000"}
  8. POST /api/auth/set-password {"password":"Test@123"}
  9. POST /api/auth/switch-role {"role":"parent"}
  10. POST /api/auth/verify {"password":"Test@123"}
  11. POST /api/auth/wechat-login {"code":"000000"}
  12. POST /api/auth/wechat-phone-login {"code":"000000"}
  13. POST /api/family/invite/approve-request {"requestId":1001,"comment":""}
  14. POST /api/family/invite/bind-inviter {"familyInviteCode":"fam_abc123"}
  15. POST /api/family/invite/reject-request {"requestId":1001,"comment":"不符合条件"}
  16. POST /api/family/invite/validate {"token":"abc123def456"}
  17. POST /api/family/invite/validate-family-code {"inviteCode":"000000"}
  18. POST /api/family/member/kick {"memberId":12345}
  19. POST /api/family/member/recycle {"memberId":12345,"targetFamilyId":67890}
  20. POST /api/health/plan/delete {"planId":1}
  21. POST /api/health/report/indicators {"reportId":1,"withPrevious":"x"}
  22. POST /api/indicator/change-ranking {"worsened":"x"}
  23. POST /api/indicator/favorite/list {"memberId":1,"sourceType":"x"}
  24. POST /api/indicator/favorite/remove {"memberId":1,"sourceType":"x","definitionId":1}
  25. POST /api/indicator/favorite/toggle {"memberId":1,"sourceType":"x","definitionId":1}
  26. POST /api/indicator/periods {"subjectId":1,"sourceType":"x"}
  27. POST /api/indicator/trend {"month":"x","sourceKind":"x","all":"x"}
  28. POST /api/user/address/delete {"id":1}
  29. POST /api/user/address/get {"id":1}
  30. POST /api/user/address/setDefault {"id":1}
  31. POST /api/user/mascot/set {"mascotId":1}