Download OpenAPI specification:Download
X-Token | string Default: |
inputType | string Enum: "smiles" "inchi" "inchikey" "mol" |
formula | string |
{- "inputType": "smiles",
- "formula": "string"
}
{- "id": 0,
- "svg": "string",
- "annotations": "string"
}
const request = require('request'); const options = { method: 'GET', url: 'https://api.progressiveaccess.com/chem/v1/history', qs: {pageable: 'SOME_OBJECT_VALUE'}, headers: {'X-Token': 'SOME_STRING_VALUE'} }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
{- "totalPages": 0,
- "totalElements": 0,
- "pageable": {
- "paged": true,
- "unpaged": true,
- "pageNumber": 0,
- "pageSize": 0,
- "sort": {
- "unsorted": true,
- "sorted": true,
- "empty": true
}, - "offset": 0
}, - "first": true,
- "last": true,
- "sort": {
- "unsorted": true,
- "sorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": 0,
- "svg": "string",
- "annotations": "string"
}
], - "number": 0,
- "numberOfElements": 0,
- "empty": true
}
id required | integer <int64> |
X-Token required | string |
const request = require('request'); const options = { method: 'GET', url: 'https://api.progressiveaccess.com/chem/v1/history/%7Bid%7D', headers: {'X-Token': 'SOME_STRING_VALUE'} }; request(options, function (error, response, body) { if (error) throw new Error(error); console.log(body); });
{- "id": 0,
- "svg": "string",
- "annotations": "string"
}