Authorized Partner API Specification vs OpenAPI Petstore
If you need a Authentication & Authorization API that's easy to integrate, go with Authorized Partner API Specification.
Authorized Partner API Specification
To access files in user’s DigiLocker account from your application, you must first obtain user’s authorization.
OpenAPI Petstore
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
Authorized Partner API Specification
- Simple API key authentication
- HTTPS supported
OpenAPI Petstore
- Requires OAuth setup
- No HTTPS support
- Currently flagged as inactive
| Feature | Authorized Partner API Specification | OpenAPI Petstore |
|---|---|---|
| Authentication | apiKey | OAuth |
| HTTPS | Yes | No |
| CORS | Unknown | Unknown |
When to use which?
Authorized Partner API Specification supports HTTPS, which is required for production deployments and secure data handling.