Last Updated: 03-12-2025
API Base URL:
https://api.absch.infoIAM Authentication URL:
{IAM_HOST}/realms/absch
Table of Contents
- Introduction
- Authentication
- Error Handling
- Rate Limiting
- File Upload Guidelines
- Security Best Practices
- API Endpoints
- Support
- Changelog
Introduction
This documentation provides detailed information about the authentication process and API endpoints. The API uses REST architecture and returns responses in JSON format.Note: ABS refers to Access & Benefit Sharing Clearing House, which is the system that manages and tracks access to genetic resources and the sharing of benefits from their use.
API Versioning
The current API version is v1.0.0. The version is included in the API URL:Content Types
The API supports multiple content types depending on the endpoint:- JSON Data (Default)
- Form URL Encoded
- Multipart Form Data
Error Handling
The API uses standard HTTP response codes and returns consistent error objects.HTTP Status Codes
| Status Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - See Common Error Responses |
| 401 | Unauthorized - See Common Error Responses |
| 403 | Forbidden - See Common Error Responses |
| 404 | Not Found - See Common Error Responses |
| 500 | Internal Server Error |
Common Error Responses
All API endpoints may return the following error responses:400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
409 Conflict
File Upload Guidelines
When uploading files through the API (e.g., permit documents), please follow these guidelines:Supported File Formats
- PDF documents (*.pdf)
- Image files (*.jpg, *.jpeg, *.png)
- Maximum file size: 10MB
File Upload Best Practices
-
File Names
- Use only alphanumeric characters, hyphens, and underscores
- Avoid spaces and special characters
- Maximum filename length: 255 characters
-
File Content
- Ensure files are not password protected
- Files must be readable and not corrupted
- Content must be clearly legible
-
Security
- Scan files for viruses before uploading
- Do not upload executable files
- Ensure files don’t contain sensitive metadata
Error Handling for File Uploads
- If a file exceeds size limits, a 413 Payload Too Large response will be returned
- Invalid file formats will result in a 400 Bad Request
- Corrupted files will be rejected with appropriate error messages
Security Best Practices
- SSL/TLS: Always use HTTPS for API communications
- Token Storage:
- Store tokens securely
- Never expose in client-side code
- Never log tokens or credentials
- Token Management:
- Cache tokens until expiration
- Implement automatic token refresh
- Handle token expiration gracefully
- Error Handling:
- Implement proper error handling
- Log authentication failures
- Monitor for suspicious activity
Support
For API support or questions, contact:- Email: [email protected]
- Developer Portal: -
- Status Page: -
Changelog
Version 1.0.0 (2025-03-12)
Authentication & Security
- Implemented OAuth 2.0 authentication with JWT tokens
- Added comprehensive security best practices
- Implemented rate limiting (100 requests per minute)
Documentation
- Initial comprehensive API documentation
- Added detailed error handling documentation
- Added file upload guidelines and best practices
Developer Experience
- Added clear examples for all endpoints
- Included comprehensive request/response examples
- Added detailed parameter descriptions
- Implemented consistent error response format
