{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:wikipathways/post-create-pathway":{"post":{"operationId":"open_data_wikipathways_post_create_pathway","summary":"createPathwayCreate a new pathway on the wiki with the given GPML code. Note: To create/modify pathways via…","description":"POST /createPathway","tags":["open-data"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["gpml","auth","username"],"properties":{"gpml":{"type":"string","description":"The GPML code for the new pathway"},"auth":{"type":"string","description":"The authentication info"},"username":{"type":"string","description":"The user name"},"format":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-find-interactions":{"get":{"operationId":"open_data_wikipathways_get_find_interactions","summary":"findInteractionsFind interactions defined in WikiPathways pathways.","description":"GET /findInteractions","tags":["open-data"],"parameters":[{"name":"query","in":"query","required":true,"description":"The name of an entity to find interactions for (e.g. 'P53')","schema":{"type":"string","description":"The name of an entity to find interactions for (e.g. 'P53')"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-find-pathways-by-literature":{"get":{"operationId":"open_data_wikipathways_get_find_pathways_by_literature","summary":"findPathwaysByLiterature","description":"GET /findPathwaysByLiterature","tags":["open-data"],"parameters":[{"name":"query","in":"query","required":true,"description":"The query, can be a pubmed id, author name or title keyword.","schema":{"type":"string","description":"The query, can be a pubmed id, author name or title keyword."}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-find-pathways-by-text":{"get":{"operationId":"open_data_wikipathways_get_find_pathways_by_text","summary":"findPathwaysByText","description":"GET /findPathwaysByText","tags":["open-data"],"parameters":[{"name":"query","in":"query","required":true,"description":"The query, e.g. 'apoptosis'","schema":{"type":"string","description":"The query, e.g. 'apoptosis'"}},{"name":"species","in":"query","required":false,"description":"Optional, limit the query by species. Leave","schema":{"type":"string","description":"Optional, limit the query by species. Leave"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-find-pathways-by-xref":{"get":{"operationId":"open_data_wikipathways_get_find_pathways_by_xref","summary":"findPathwaysByXref","description":"GET /findPathwaysByXref","tags":["open-data"],"parameters":[{"name":"ids","in":"query","required":true,"description":"string","schema":{"type":"array","description":"string"}},{"name":"codes","in":"query","required":false,"description":"string","schema":{"type":"array","description":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-colored-pathway":{"get":{"operationId":"open_data_wikipathways_get_get_colored_pathway","summary":"getColoredPathwayGet a colored image version of the pathway.","description":"GET /getColoredPathway","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"revision","in":"query","required":true,"description":"The revision of the pathway (use '0' for most recent)","schema":{"type":"string","description":"The revision of the pathway (use '0' for most recent)"}},{"name":"graphId","in":"query","required":true,"description":"string","schema":{"type":"array","description":"string"}},{"name":"color","in":"query","required":true,"description":"string","schema":{"type":"array","description":"string"}},{"name":"fileType","in":"query","required":true,"description":"The image type (One of 'svg', 'pdf' or 'png').","schema":{"type":"string","description":"The image type (One of 'svg', 'pdf' or 'png')."}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-curation-tag-history":{"get":{"operationId":"open_data_wikipathways_get_get_curation_tag_history","summary":"getCurationTagHistory","description":"GET /getCurationTagHistory","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"timestamp","in":"query","required":false,"description":"Only include history from after the given date","schema":{"type":"string","description":"Only include history from after the given date"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-curation-tags":{"get":{"operationId":"open_data_wikipathways_get_get_curation_tags","summary":"getCurationTagsGet all curation tags for the given tag name. Use this method if you want to find all…","description":"GET /getCurationTags","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-curation-tags-by-name":{"get":{"operationId":"open_data_wikipathways_get_get_curation_tags_by_name","summary":"getCurationTagsByNameGet all curation tags for the given tag name. Use this method if you want to find all…","description":"GET /getCurationTagsByName","tags":["open-data"],"parameters":[{"name":"tagName","in":"query","required":true,"description":"The tag name","schema":{"type":"string","description":"The tag name"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-ontology-terms-by-pathway":{"get":{"operationId":"open_data_wikipathways_get_get_ontology_terms_by_pathway","summary":"getOntologyTermsByPathway","description":"GET /getOntologyTermsByPathway","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-pathway":{"get":{"operationId":"open_data_wikipathways_get_get_pathway","summary":"getPathway","description":"GET /getPathway","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"revision","in":"query","required":false,"description":"The revision number of the pathway (use 0 for most recent)","schema":{"type":"integer","description":"The revision number of the pathway (use 0 for most recent)"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-pathway-as":{"get":{"operationId":"open_data_wikipathways_get_get_pathway_as","summary":"getPathwayAsDownload a pathway in the specified file format.","description":"GET /getPathwayAs","tags":["open-data"],"parameters":[{"name":"fileType","in":"query","required":true,"description":"The file type to convert to, e.g.","schema":{"type":"string","description":"The file type to convert to, e.g."}},{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"revision","in":"query","required":false,"description":"The revision number of the pathway (use 0 for most recent)","schema":{"type":"integer","description":"The revision number of the pathway (use 0 for most recent)"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-pathway-history":{"get":{"operationId":"open_data_wikipathways_get_get_pathway_history","summary":"getPathwayHistoryGet the revision history of a pathway.","description":"GET /getPathwayHistory","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"timestamp","in":"query","required":true,"description":"Limit by time, only history items after the given","schema":{"type":"string","description":"Limit by time, only history items after the given"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-pathway-info":{"get":{"operationId":"open_data_wikipathways_get_get_pathway_info","summary":"getPathwayInfoGet some general info about the pathway, such as the name, species, without downloading the…","description":"GET /getPathwayInfo","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-pathways-by-ontology-term":{"get":{"operationId":"open_data_wikipathways_get_get_pathways_by_ontology_term","summary":"getPathwaysByOntologyTerm","description":"GET /getPathwaysByOntologyTerm","tags":["open-data"],"parameters":[{"name":"term","in":"query","required":true,"description":"The Ontology term","schema":{"type":"string","description":"The Ontology term"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-pathways-by-parent-ontology-term":{"get":{"operationId":"open_data_wikipathways_get_get_pathways_by_parent_ontology_term","summary":"getPathwaysByParentOntologyTerm","description":"GET /getPathwaysByParentOntologyTerm","tags":["open-data"],"parameters":[{"name":"term","in":"query","required":true,"description":"The Ontology term","schema":{"type":"string","description":"The Ontology term"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-recent-changes":{"get":{"operationId":"open_data_wikipathways_get_get_recent_changes","summary":"getRecentChangesGet the recently changed pathways. Note: the recent changes table only retains items for a…","description":"GET /getRecentChanges","tags":["open-data"],"parameters":[{"name":"timestamp","in":"query","required":true,"description":"Get the changes after this time","schema":{"type":"string","description":"Get the changes after this time"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-user-by-orcid":{"get":{"operationId":"open_data_wikipathways_get_get_user_by_orcid","summary":"getUserByOrcid","description":"GET /getUserByOrcid","tags":["open-data"],"parameters":[{"name":"orcid","in":"query","required":true,"description":"string","schema":{"type":"string","description":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-get-xref-list":{"get":{"operationId":"open_data_wikipathways_get_get_xref_list","summary":"getXrefList","description":"GET /getXrefList","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier.","schema":{"type":"string","description":"The pathway identifier."}},{"name":"code","in":"query","required":true,"description":"The database code to translate to (e.g. 'S' for UniProt).","schema":{"type":"string","description":"The database code to translate to (e.g. 'S' for UniProt)."}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-list-organisms":{"get":{"operationId":"open_data_wikipathways_get_list_organisms","summary":"listOrganisms","description":"GET /listOrganisms","tags":["open-data"],"parameters":[{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-list-pathways":{"get":{"operationId":"open_data_wikipathways_get_list_pathways","summary":"listPathways","description":"GET /listPathways","tags":["open-data"],"parameters":[{"name":"organism","in":"query","required":false,"description":"The organism to filter by (optional)","schema":{"type":"string","description":"The organism to filter by (optional)"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-login":{"get":{"operationId":"open_data_wikipathways_get_login","summary":"loginStart a logged in session, using an existing WikiPathways account. This function will return an…","description":"GET /login","tags":["open-data"],"parameters":[{"name":"name","in":"query","required":true,"description":"The usernameset_include_path(get_include_path().PATH_SEPARATOR.realpath('../includes').PATH_SEPARATOR.realpath('../').PATH_SEPARATOR);","schema":{"type":"string","description":"The usernameset_include_path(get_include_path().PATH_SEPARATOR.realpath('../includes').PATH_SEPARATOR.realpath('../').PATH_SEPARATOR);"}},{"name":"pass","in":"query","required":true,"description":"The password","schema":{"type":"string","description":"The password"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-remove-curation-tag":{"get":{"operationId":"open_data_wikipathways_get_remove_curation_tag","summary":"removeCurationTagRemove a curation tag from a pathway.","description":"GET /removeCurationTag","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"tagName","in":"query","required":true,"description":"The name of the tag to apply","schema":{"type":"string","description":"The name of the tag to apply"}},{"name":"auth","in":"query","required":true,"description":"The authentication data","schema":{"type":"string","description":"The authentication data"}},{"name":"username","in":"query","required":true,"description":"The user name","schema":{"type":"string","description":"The user name"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-remove-ontology-tag":{"get":{"operationId":"open_data_wikipathways_get_remove_ontology_tag","summary":"removeOntologyTag","description":"GET /removeOntologyTag","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"termId","in":"query","required":true,"description":"The ontology term identifier in the ontology","schema":{"type":"string","description":"The ontology term identifier in the ontology"}},{"name":"auth","in":"query","required":true,"description":"The authentication key","schema":{"type":"string","description":"The authentication key"}},{"name":"user","in":"query","required":true,"description":"The username","schema":{"type":"string","description":"The username"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-save-curation-tag":{"get":{"operationId":"open_data_wikipathways_get_save_curation_tag","summary":"saveCurationTag","description":"GET /saveCurationTag","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"tagName","in":"query","required":true,"description":"The name of the tag to apply","schema":{"type":"string","description":"The name of the tag to apply"}},{"name":"text","in":"query","required":true,"description":"string","schema":{"type":"string","description":"string"}},{"name":"revision","in":"query","required":true,"description":"The revision this tag applies to","schema":{"type":"integer","description":"The revision this tag applies to"}},{"name":"auth","in":"query","required":true,"description":"The authentication key","schema":{"type":"string","description":"The authentication key"}},{"name":"username","in":"query","required":true,"description":"The user name","schema":{"type":"string","description":"The user name"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-save-ontology-tag":{"get":{"operationId":"open_data_wikipathways_get_save_ontology_tag","summary":"saveOntologyTag","description":"GET /saveOntologyTag","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"term","in":"query","required":true,"description":"The ontology term to apply","schema":{"type":"string","description":"The ontology term to apply"}},{"name":"termId","in":"query","required":true,"description":"The identifier of the term in the ontology","schema":{"type":"string","description":"The identifier of the term in the ontology"}},{"name":"auth","in":"query","required":true,"description":"The authentication key","schema":{"type":"string","description":"The authentication key"}},{"name":"user","in":"query","required":true,"description":"The username","schema":{"type":"string","description":"The username"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:wikipathways/get-update-pathway":{"get":{"operationId":"open_data_wikipathways_get_update_pathway","summary":"updatePathwayUpdate a pathway on the wiki with the given GPML code. Note: To create/modify pathways via the…","description":"GET /updatePathway","tags":["open-data"],"parameters":[{"name":"pwId","in":"query","required":true,"description":"The pathway identifier","schema":{"type":"string","description":"The pathway identifier"}},{"name":"description","in":"query","required":true,"description":"A description of the modifications","schema":{"type":"string","description":"A description of the modifications"}},{"name":"gpml","in":"query","required":true,"description":"The updated GPML code","schema":{"type":"string","description":"The updated GPML code"}},{"name":"revision","in":"query","required":true,"description":"The revision the GPML code is based on","schema":{"type":"integer","description":"The revision the GPML code is based on"}},{"name":"auth","in":"query","required":true,"description":"The authentication key","schema":{"type":"string","description":"The authentication key"}},{"name":"username","in":"query","required":true,"description":"The username","schema":{"type":"string","description":"The username"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","xml","html","dump","jpg","pdf"],"default":"xml"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}