Configuring documentation upload limitations
You can attach documentation to an API by uploading it in the CMS Portal. You can configure the API content type to place limitations on the uploaded documentation.
Before you begin
You must have administrator access to the CMS Portal to complete this
task.
Note: This module synchronizes the credentials of applications that are created by consumers in
the CMS Portal site UI. It cannot synchronize the credentials for applications that are created by
the provider in the API Manager UI.
About this task
The set of configurable limitations that you can place on uploading documentation is different to the set of limitations that you can place on uploading images.
The file size limit that is applied when you upload documentation is also different to the limit that is applied when you upload images.
Procedure
- If the administrator dashboard is not displayed, click Manage to display it.
- Click Structure in the administrator dashboard.
- Click Content types.
- For the API content type, click Manage fields.
- For the Documentation field, click Edit.
- Configure the type of files that are allowed to be uploaded in the Allowed file extensions field.
-
Enter the file size upload limit in the Maximum upload size field.
The default size is 10MB, while the maximum upload size possible is 64MB.
-
Click Save settings.
You have configured the documentation upload limitations.