feat: add Mintlify docs (#16787)
* feat: Add Mintlify docs * Fixed the mint.json for v2 * Fixed versioning issue * Add titles to ICS feed endpoints * Added errors to v1 * Added rate-limit to API v1 * feat: added v1-v2 differences and v1 auth * Trying to eliminate reasons for v1 not showing on publication * Used the swagger openapi validator * remove deprecated v1 endpoints * Moved api docs into new folders without api-reference * Renamed api to api-reference * removed the versioning * Got rid of anchor warnings * Fixed naming * Just as a test - using the same v2 openapi spec for v1 reference * Removed 'externalDocs' from v1 * Removed securitySchemes * Updated the diff between v1/v2 * Added v1 in front of /attendees to test * Moved paths up and removed externalDocs * Testing - Added content to the response * Reduced paths to 1 * Testing: anything at this point * Fixed validation * Moved the other .mdx files to see if that's disrupting something * Trying with a tab * Empty tags array * Added back servers field * Removed all other schemas * Removed v1 for now * Added platform docs * Language fixes * Added v1 back * add API V1 response for attendees * remove unnecessary endpoint docs in API V1 * Removing platform and API for now * Updated v2 openapi doc --------- Co-authored-by: Syed Ali Shahbaz <[email protected]>
This commit is contained in:
1 parent
2146c04444
commit
be728e9c01
207 files changed
+18939
-639
No files matched your search
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: 'Introduction to API v2'
|
||||
description: 'Introduction to Cal.com API v2 endpoints'
|
||||
---
|
||||
|
||||
## Authentication
|
||||
|
||||
The Cal.com API uses API keys to authenticate requests. You can view and manage your API keys in your settings page under the security tab in Cal.com.
|
||||
|
||||
<img src="/images/i1600x899-DllqhV6w_3Vj_oxtjov.png" />
|
||||
|
||||
API Keys are under Settings > Security
|
||||
|
||||
Test mode secret keys have the prefix `cal_` and live mode secret keys have the prefix `cal_live_`.
|
||||
|
||||
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
|
||||
|
||||
Authentication to the API is performed via the Authentication header like: `Bearer: cal_live_xxxxxx`
|
||||
|
||||
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: "Differences between v1 and v2"
|
||||
---
|
||||
|
||||
## API Versions
|
||||
We offer two versions of our API: the legacy version (v1) and the latest v2 version. While both versions are currently available, we highly recommend using the v2 API in all your integrations and applications.
|
||||
|
||||
### Why Use v2?
|
||||
|
||||
The v2 API includes numerous enhancements and new features that are not available in v1. It has been designed to be more efficient, secure, and easier to use. v2 reflects our commitment to providing the best possible developer experience and ensuring that your applications can take advantage of the latest advancements in our platform.
|
||||
|
||||
### Key Differences
|
||||
|
||||
- **Performance Improvements**: v2 has been optimized for better performance and scalability.
|
||||
- **User friendly response objects**: In v2 we have focused heavily on improving the response object for a better User Experience.
|
||||
- **Enhanced Security**: v2 includes improved security measures to protect your data.
|
||||
- **Platform product**: Our new Platform product was built entirely on v2.
|
||||
|
||||
We are committed to supporting our community during this transition. If you have any questions or need assistance with migrating to the v2 API, please contact our support team.
|
||||
|
||||
Thank you for your understanding and cooperation.
|
||||
Reference in new issue
Block a user