-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve api schema (#2156)
* Update api-schema.yaml * add userId to components * Update api-schema.yaml * add null support to issues component * add kind and userId to session component * add userId to multistream component * make error optional * remove required params from response * add webhook request body * temp: add type ignore * Update webhook.ts * Update api-schema.yaml * Update [id].tsx * final fixes/improvments * for schemas * update webhook payload * fix: recordings playback IDs can be null * fix: schema validation * fix: schema default * fix: added null for profiles * fix: compile schemas * fix: change asset responses to 201 * fix: change to nullable create/patch stream * feat: added nullable to asset profiles field * fix: merge latest * fix: added back 200 response for create asset * api: Handle null profiles appropriately * api/schema: Add breakdownBy[] to /data/usage docs * api: Delete the deprecated (now broken) /import API Everyone should be using /upload/url now * api/schema: Address PR comments * api/schema: Fix schemas of upload APIs * fix: isMobile oneof --------- Co-authored-by: Chase Adams <c@cadams.io> Co-authored-by: Victor Elias <victorgelias@gmail.com>
- Loading branch information
1 parent
d1936e9
commit e8a29df
Showing
5 changed files
with
225 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.