OCS API
To browse the new OCS API documentation please go here.
The old documentation is still kept as it provides some additional documentation that is not completely covered in the new documentation:
- OCS OpenAPI tutorial
- Requirements and prerequisites
- Tips and tricks
- Best practices
- PREFER to expose your APIs using OCS
- DO type controller and helper methods as explicit as possible
- PREFER to use
null
to represent empty data - DO NOT throw non-OCS*Exceptions
- DO use the same data structures for the same group of responses
- DO NOT use the
addHeader
method for setting headers for your responses - CONSIDER how your API will be used
- DO set all descriptions for parameters and methods
- How to add OpenAPI support to your OCS API
- How to add response definitions to share type definitions
- How to handle exceptions
- How to ignore certain endpoints
- How to expose Capabilities
- Scopes
- How to generate the specification
- OCS APIs overview
- OCS Share API
- OCS Sharee API
- OCS Status API
- OCS Recommendations API
- OCS user preferences API
- OCS Translation API
- OCS TextProcessing API
- OCS Text-To-Image API
- OCS TaskProcessing API
- OCS Out-of-office API