Developer Guidelines
10.4.2602
Search this version
Developer Guidelines
Developer Guidelines
oAuth APIs
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Account Config
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
| API version | 3.1 |
|---|---|
| Last Update | 10/22/2019 |
| Authentication | YES |
| Response Format | JSON |
| HTTP Method | POST |
| Rate limited | YES |
| Requests per rate limit | 10/min |
| Change History | 10/22/2019: add new regcode section |
Use this API to retrieve account settings.
API URL
https://gears.opswat.com/o/api/v3.1/configurationRequest Parameters
| Key | Datatype | Parameter Type | Required | Description | Default |
|---|---|---|---|---|---|
| access_token | string | URL | Yes | access token which archived from OAuth authentication step | |
| sections | Array of strings | Body | Yes | Specify which settings to fetch information. Available options:
|
Response HTTP Code
See details in the Response HTTP Code section in this page
Response Parameters
| Key | Datatype | Description |
|---|---|---|
| <setting_name> | object | a setting name in the request. Depend on settings, object will have different keys in response |
| cross-domain-api | object | Cross-domain API setting |
| cross-domain-api.enabled | number | Values:
|
| cross-domain-api.port | number | port number which the cross-domain API is listening on endpoints |
| regcode | string | Account specific registration Shortcode |
Example
Request Example
https://gears.opswat.com/o/api/v3.1/configuration?access_token=TEST7P9ZMJ2LBF8AMOMJLFNPMMLO953AVQ4C9YFF52R61234 Request Body:{ "sections": ["cross-domain-api","regcode"]}Response Example
{ "cross-domain-api": { "enabled": 1, "port": 11369 }, "regcode": "EZ3ESTSY"}History
| Action | Version | URL |
|---|---|---|
| Account Config | 3.0 | auto$ |
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Account DetailsDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
