User Tools

Site Tools


pathway

This is an old revision of the document!


Table of Contents

Pathway

REST Operations

GET

URI Parameter Accept Types Result Status Codes
/pathways optional parameter “delimiter” for text/csv only, default value: “,” text/html List of all pathways of all packages that the user has permission to read. 200 - OK
application/json 500 - Internal Server Error
text/plain
text/csv
/package/<id>/pathway optional parameter “delimiter” for text/csv only, default value: “,” text/html List of all pathways of all the package given by the URI. 200 - OK
application/json 401 - Unauthorized
text/plain500 - Internal Server Error
text/csv
/package/<id>/pathway/<id> optional parameter “delimiter” for text/csv only, default value: “,” text/html The pathway identified by the URI. 200 - OK
application/json 401 - Unauthorized
text/plain404 - Not Found
text/csv 500 - Internal Server Error
/package/<id>/pathway/<id>?status application/json The status of the pathway identified by the URI. 200 - OK
401 - Unauthorized
404 - Not Found
500 - Internal Server Error

POST

URI Parameter Accept Types Result Status Codes
/pathway smilesinput List of all pathways of all packages that the user has permission to read. 303 - See Other
reverse 500 - Internal Server Error
name
description
rootOnly
selectedSetting There are 3 ways to select the setting for the pathway: * Do not specify any setting options (uses default setting) * Provide a setting URI with selectedSetting * Provide further setting parameters to create a new setting as defined in the Setting REST API.
<settingParams>
/package/<id>/pathway smilesinput Creates a new predicted pathway in the package given by the URI. The redirect points to the URI of the new pathway. 303 - See Other
reverse 401 - Unauthorized
name 500 - Internal Server Error
selectedSetting
<settingParams>
smilesinput
pathway.1705932049.txt.gz · Last modified: 2024/01/22 14:00 by shankar