{"name": "Orchid-GRP API", "documentation": "/api_documentation.html", "health": "/api/health/", "resources": {"te_annotations": {"species": "/api/te/species/", "classifications": "/api/te/classifications/", "records": "/api/te/records/", "te_species_api": "/api/te/species/", "te_classifications_api": "/api/te/classifications/", "te_records": "/api/te/records/"}, "orthology": {"summary": "/api/orthology/summary/", "groups": "/api/orthology/groups/", "orthology_summary": "/api/orthology/summary/", "orthology_groups": "/api/orthology/groups/", "orthology_group_detail": "/api/orthology/groups/{og_id}/", "orthology_gene_lookup": "/api/orthology/gene/", "orthology_gene_suggestions": "/api/orthology/gene-suggestions/", "orthology_gene_search": "/api/orthology/gene-search/", "orthology_selected_sequences": "/api/orthology/groups/{og_id}/selected-sequences/"}, "block_synteny": {"summary": "/api/block-synteny/summary/", "records": "/api/block-synteny/records/", "block_synteny_summary": "/api/block-synteny/summary/", "block_synteny_records": "/api/block-synteny/records/", "block_synteny_gene_pairs": "/api/block-synteny/gene-pairs/", "block_synteny_gene_search": "/api/block-synteny/gene-search/"}, "multiple_genome_alignment": {"example_reference": "Dnob", "overview": "/api/mga/Dnob/overview/", "table": "/api/mga/Dnob/table/", "mga_overview": "/api/mga/{species_code}/overview/", "mga_table_data": "/api/mga/{species_code}/table/"}, "gene_families": "/api/gene-families/", "pangenome": "/api/pangenome/", "genomes": {"species": "/api/species/", "genomes": "/api/genomes/", "files": "/api/files/", "profiles": "/api/species/profiles/"}, "genes": {"gene_search": "/api/genes/search/"}, "annotations": {"go": "/api/annotations/go/", "interpro": "/api/annotations/interpro/", "kegg": "/api/annotations/kegg/"}, "regulation": {"regulatory": "/api/regulatory-proteins/", "m6a": "/api/m6a/", "duplications": "/api/duplications/"}, "expression": {"expression_species": "/api/expression/species/", "expression": "/api/expression/{species_code}/", "transcriptome_runs": "/api/transcriptome/runs/"}, "metabolites": {"metabolites": "/api/metabolites/", "metabolite_literature": "/api/metabolites/literature/"}, "pathways": {"pathways": "/api/pathways/", "pathway_genes": "/api/pathways/{slug}/genes/"}, "ancestral": {"ancestral": "/api/ancestral/", "ancestral_genes": "/api/ancestral/{ancestor}/genes/"}, "reference": {"ecology": "/api/reference/ecology/", "flowers": "/api/reference/flowers/", "flower_traits": "/api/reference/flower-traits/", "flower_development": "/api/reference/flower-development/"}, "statistics": {"statistics": "/api/statistics/", "statistic_topic": "/api/statistics/{topic}/"}, "system": {"health_check": "/api/health/", "csrf": "/api/csrf/"}}, "endpoints": [{"group": "te", "route": "te-species-api", "summary": "Available genomes and TE annotation coverage.", "parameters": [], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: release, available_species, pending_species, species.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/te/species/", "example_path": "/api/te/species/", "relative_path": "te/species/", "anchor": "te-species-api", "body_json": ""}, {"group": "te", "route": "te-classifications-api", "summary": "Repeat classes and counts for a genome.", "parameters": [{"name": "sp", "description": "Genome code.", "location": "query", "required": false, "schema": {"type": "string", "default": "Gela"}, "constraints": "Default: Gela"}], "example": {"sp": "Aram"}, "kwargs": {}, "method": "GET", "response": "JSON: code, classifications, note.", "notes": "Pending annotations return 409.", "body": null, "formats": ["application/json"], "path": "/api/te/classifications/", "example_path": "/api/te/classifications/?sp=Aram", "relative_path": "te/classifications/", "anchor": "te-classifications-api", "body_json": ""}, {"group": "te", "route": "te-records", "summary": "TE annotation records, optionally exported as CSV.", "parameters": [{"name": "sp", "description": "Genome code.", "location": "query", "required": false, "schema": {"type": "string", "default": "Gela"}, "constraints": "Default: Gela"}, {"name": "type", "description": "Exact repeat classification from te/classifications/.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "seq", "description": "Native or reference sequence name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "start", "description": "Inclusive interval start; requires seq.", "location": "query", "required": false, "schema": {"type": "integer", "minimum": 1}, "constraints": "Min: 1"}, {"name": "end", "description": "Inclusive interval end; requires seq.", "location": "query", "required": false, "schema": {"type": "integer", "minimum": 1}, "constraints": "Min: 1"}, {"name": "limit", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 50, "minimum": 1, "maximum": 100}, "constraints": "Default: 50. Min: 1. Max: 100"}, {"name": "after", "description": "Use the previous response's next_cursor.", "location": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "default": 0}, "constraints": "Default: 0. Min: 0"}, {"name": "before", "description": "Use previous_cursor to move back; cannot combine with after.", "location": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "default": 0}, "constraints": "Default: 0. Min: 0"}, {"name": "page", "description": "Optional numbered page; cursor pagination is recommended.", "location": "query", "required": false, "schema": {"type": "integer", "minimum": 1}, "constraints": "Min: 1"}, {"name": "format", "description": "Response format; CSV contains the current page.", "location": "query", "required": false, "schema": {"type": "string", "default": "json", "enum": ["json", "csv"]}, "constraints": "Default: json. Values: json, csv"}], "example": {"sp": "Aram", "limit": 5}, "kwargs": {}, "method": "GET", "response": "JSON: records, next_cursor, previous_cursor, limit. CSV: current-page annotation columns.", "notes": "Keep genome and filters unchanged while paging. Interval coordinates are 1-based and inclusive. For full annotations use the genome page's OUT/GFF links. Pending annotations return 409.", "body": null, "formats": ["application/json", "text/csv"], "path": "/api/te/records/", "example_path": "/api/te/records/?sp=Aram&limit=5", "relative_path": "te/records/", "anchor": "te-records", "body_json": ""}, {"group": "orthology", "route": "orthology-summary", "summary": "Dataset metadata, genomes and orthogroup statistics.", "parameters": [], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: dataset metadata, species and summary statistics.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/orthology/summary/", "example_path": "/api/orthology/summary/", "relative_path": "orthology/summary/", "anchor": "orthology-summary", "body_json": ""}, {"group": "orthology", "route": "orthology-groups", "summary": "Filtered orthogroup catalogue.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "kind", "description": "Orthogroup category.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["assigned", "unassigned"]}, "constraints": "Values: assigned, unassigned"}, {"name": "search[value]", "description": "Orthogroup ID or fragment; up to 64 characters.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 64}, "constraints": "Max length: 64"}, {"name": "start", "description": "Zero-based row offset.", "location": "query", "required": false, "schema": {"type": "integer", "default": 0, "minimum": 0, "maximum": 10000000}, "constraints": "Default: 0. Min: 0. Max: 10000000"}, {"name": "length", "description": "Page size.", "location": "query", "required": false, "schema": {"type": "integer", "default": 10, "minimum": 1, "maximum": 100}, "constraints": "Default: 10. Min: 1. Max: 100"}, {"name": "draw", "description": "Optional DataTables request counter.", "location": "query", "required": false, "schema": {"type": "integer", "default": 0, "minimum": 0, "maximum": 1000000}, "constraints": "Default: 0. Min: 0. Max: 1000000"}, {"name": "order[0][column]", "description": "1 sorts by orthogroup ID; other values sort by total gene count.", "location": "query", "required": false, "schema": {"type": "integer", "default": 2}, "constraints": "Default: 2"}, {"name": "order[0][dir]", "description": "Sort direction.", "location": "query", "required": false, "schema": {"type": "string", "default": "desc", "enum": ["asc", "desc"]}, "constraints": "Default: desc. Values: asc, desc"}], "example": {"species": "Dnob", "length": 5}, "kwargs": {}, "method": "GET", "response": "JSON: draw, recordsTotal, recordsFiltered, data (including sequence_url and tree_url).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/orthology/groups/", "example_path": "/api/orthology/groups/?species=Dnob&length=5", "relative_path": "orthology/groups/", "anchor": "orthology-groups", "body_json": ""}, {"group": "orthology", "route": "orthology-group-detail", "summary": "One orthogroup and its member genes.", "parameters": [{"name": "og_id", "description": "Orthogroup ID in the form OG followed by seven digits.", "location": "path", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1}, "constraints": "Default: 1. Min: 1"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 500, "minimum": 1, "maximum": 10000}, "constraints": "Default: 500. Min: 1. Max: 10000"}], "example": {}, "kwargs": {"og_id": "OG0000000"}, "method": "GET", "response": "JSON: orthogroup, members, filters, pagination.", "notes": "Member IDs returned here are the IDs accepted by selected-sequences/.", "body": null, "formats": ["application/json"], "path": "/api/orthology/groups/{og_id}/", "example_path": "/api/orthology/groups/OG0000000/", "relative_path": "orthology/groups/{og_id}/", "anchor": "orthology-group-detail", "body_json": ""}, {"group": "orthology", "route": "orthology-gene-lookup", "summary": "Find the orthogroup membership of an exact gene ID.", "parameters": [{"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": true, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}], "example": {"gene_id": "Dnob1g00001"}, "kwargs": {}, "method": "GET", "response": "JSON: data, count. At most 20 matching memberships are returned.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/orthology/gene/", "example_path": "/api/orthology/gene/?gene_id=Dnob1g00001", "relative_path": "orthology/gene/", "anchor": "orthology-gene-lookup", "body_json": ""}, {"group": "orthology", "route": "orthology-gene-suggestions", "summary": "Autocomplete a gene ID prefix.", "parameters": [{"name": "q", "description": "Gene ID prefix; fewer than two characters returns no suggestions.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}], "example": {"q": "Dnob1g"}, "kwargs": {}, "method": "GET", "response": "JSON: data, has_more. At most 30 suggestions are returned.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/orthology/gene-suggestions/", "example_path": "/api/orthology/gene-suggestions/?q=Dnob1g", "relative_path": "orthology/gene-suggestions/", "anchor": "orthology-gene-suggestions", "body_json": ""}, {"group": "orthology", "route": "orthology-gene-search", "summary": "Resolve a batch of exact gene IDs.", "parameters": [{"name": "gene_ids", "description": "Nonempty list of gene IDs, each at most 255 characters.", "location": "body", "required": true, "schema": {"type": "array", "items": {"type": "string", "maxLength": 255}, "maxItems": 200}, "constraints": "Max items: 200"}, {"name": "species_codes", "description": "Optional genome-code filter.", "location": "body", "required": false, "schema": {"type": "array", "items": {"type": "string"}, "maxItems": 100}, "constraints": "Max items: 100"}, {"name": "Content-Type", "description": "JSON request body.", "location": "header", "required": true, "schema": {"type": "string", "enum": ["application/json"]}, "constraints": "Values: application/json"}, {"name": "X-CSRFToken", "description": "Token from csrf/; keep its matching cookie.", "location": "header", "required": true, "schema": {"type": "string"}, "constraints": ""}], "example": {}, "kwargs": {}, "method": "POST", "response": "JSON: data, count, query_count, not_found, filters.", "notes": "Send application/json with a CSRF token and its matching cookie. See POST access.", "body": {"gene_ids": ["Dnob1g00001"], "species_codes": ["Dnob"]}, "formats": ["application/json"], "path": "/api/orthology/gene-search/", "example_path": "/api/orthology/gene-search/", "relative_path": "orthology/gene-search/", "anchor": "orthology-gene-search", "body_json": "{\"gene_ids\":[\"Dnob1g00001\"],\"species_codes\":[\"Dnob\"]}"}, {"group": "orthology", "route": "orthology-selected-sequences", "summary": "Export selected orthogroup members as FASTA.", "parameters": [{"name": "og_id", "description": "Orthogroup ID.", "location": "path", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "member_ids", "description": "IDs from the orthogroup member response; all must belong to this group.", "location": "body", "required": true, "schema": {"type": "array", "items": {"type": "integer", "minimum": 1}, "maxItems": 10000}, "constraints": "Max items: 10000"}, {"name": "Content-Type", "description": "JSON request body.", "location": "header", "required": true, "schema": {"type": "string", "enum": ["application/json"]}, "constraints": "Values: application/json"}, {"name": "X-CSRFToken", "description": "Token from csrf/; keep its matching cookie.", "location": "header", "required": true, "schema": {"type": "string"}, "constraints": ""}], "example": {}, "kwargs": {"og_id": "OG0000000"}, "method": "POST", "response": "FASTA attachment. Invalid selections return JSON errors; missing sequence records return 409.", "notes": "Replace the example group and member IDs with values from groups/. Requires the CSRF token and cookie. See POST access.", "body": {"member_ids": [1]}, "formats": ["text/x-fasta"], "path": "/api/orthology/groups/{og_id}/selected-sequences/", "example_path": "/api/orthology/groups/OG0000000/selected-sequences/", "relative_path": "orthology/groups/{og_id}/selected-sequences/", "anchor": "orthology-selected-sequences", "body_json": "{\"member_ids\":[1]}"}, {"group": "synteny", "route": "block-synteny-summary", "summary": "Genomes, chromosome labels and available genome-pair resources.", "parameters": [], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: dataset, species, data (resource matrix), meta.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/block-synteny/summary/", "example_path": "/api/block-synteny/summary/", "relative_path": "block-synteny/summary/", "anchor": "block-synteny-summary", "body_json": ""}, {"group": "synteny", "route": "block-synteny-records", "summary": "Syntenic blocks for a genome pair.", "parameters": [{"name": "query_species", "description": "Genome code from the species catalogue.", "location": "query", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "subject_species", "description": "Genome code from the species catalogue.", "location": "query", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "method", "description": "Synteny method.", "location": "query", "required": false, "schema": {"type": "string", "default": "colinearscan", "enum": ["colinearscan", "mcscanx"]}, "constraints": "Default: colinearscan. Values: colinearscan, mcscanx"}, {"name": "query_chromosome", "description": "Optional chromosome names; repeat the parameter or use comma-separated names.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "subject_chromosome", "description": "Optional chromosome names; repeat the parameter or use comma-separated names.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1}, "constraints": "Default: 1. Min: 1"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 10, "minimum": 1, "maximum": 100}, "constraints": "Default: 10. Min: 1. Max: 100"}], "example": {"query_species": "Dnob", "subject_species": "Vpla", "page_size": 5}, "kwargs": {}, "method": "GET", "response": "JSON: data (block IDs and summaries), resource, pagination, filters.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/block-synteny/records/", "example_path": "/api/block-synteny/records/?query_species=Dnob&subject_species=Vpla&page_size=5", "relative_path": "block-synteny/records/", "anchor": "block-synteny-records", "body_json": ""}, {"group": "synteny", "route": "block-synteny-gene-pairs", "summary": "Gene pairs and Ka/Ks measurements within a block.", "parameters": [{"name": "block_id", "description": "Numeric block ID from block-synteny/records/.", "location": "query", "required": true, "schema": {"type": "integer", "minimum": 1}, "constraints": "Min: 1"}, {"name": "query_species", "description": "Genome code from the species catalogue.", "location": "query", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1}, "constraints": "Default: 1. Min: 1"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 10, "minimum": 1, "maximum": 100}, "constraints": "Default: 10. Min: 1. Max: 100"}], "example": {"block_id": 1, "query_species": "Aoff", "page_size": 5}, "kwargs": {}, "method": "GET", "response": "JSON: data, block, pagination.", "notes": "query_species controls direction when the resource supports reversing the genome pair.", "body": null, "formats": ["application/json"], "path": "/api/block-synteny/gene-pairs/", "example_path": "/api/block-synteny/gene-pairs/?block_id=1&query_species=Aoff&page_size=5", "relative_path": "block-synteny/gene-pairs/", "anchor": "block-synteny-gene-pairs", "body_json": ""}, {"group": "synteny", "route": "block-synteny-gene-search", "summary": "Find syntenic pairs containing an exact gene ID.", "parameters": [{"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": true, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "partner_gene", "description": "Optional exact partner gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "block_id", "description": "Optional block to search.", "location": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "default": 0}, "constraints": "Default: 0. Min: 0"}, {"name": "page", "description": "Page number; page size is fixed at 20.", "location": "query", "required": false, "schema": {"type": "integer", "minimum": 1, "default": 1}, "constraints": "Default: 1. Min: 1"}], "example": {"gene_id": "Dnob1g00001"}, "kwargs": {}, "method": "GET", "response": "JSON: gene_id, data, pagination.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/block-synteny/gene-search/", "example_path": "/api/block-synteny/gene-search/?gene_id=Dnob1g00001", "relative_path": "block-synteny/gene-search/", "anchor": "block-synteny-gene-search", "body_json": ""}, {"group": "mga", "route": "mga-overview", "summary": "Chromosome tracks, sampled blocks and links for a reference genome.", "parameters": [{"name": "species_code", "description": "Reference genome: Dnob, Elgu, Aoff, Atat or Atri.", "location": "path", "required": true, "schema": {"type": "string", "enum": ["Dnob", "Elgu", "Aoff", "Atat", "Atri"]}, "constraints": "Values: Dnob, Elgu, Aoff, Atat, Atri"}], "example": {}, "kwargs": {"species_code": "Dnob"}, "method": "GET", "response": "JSON: reference metadata, tracks and chart data.", "notes": "The overview is a chart summary. Use the table endpoint to retrieve gene-level rows.", "body": null, "formats": ["application/json"], "path": "/api/mga/{species_code}/overview/", "example_path": "/api/mga/Dnob/overview/", "relative_path": "mga/{species_code}/overview/", "anchor": "mga-overview", "body_json": ""}, {"group": "mga", "route": "mga-table-data", "summary": "Paginated gene alignment matrix.", "parameters": [{"name": "species_code", "description": "Reference genome code.", "location": "path", "required": true, "schema": {"type": "string", "enum": ["Dnob", "Elgu", "Aoff", "Atat", "Atri"]}, "constraints": "Values: Dnob, Elgu, Aoff, Atat, Atri"}, {"name": "start", "description": "Zero-based row offset.", "location": "query", "required": false, "schema": {"type": "integer", "default": 0, "minimum": 0, "maximum": 10000000}, "constraints": "Default: 0. Min: 0. Max: 10000000"}, {"name": "length", "description": "Page size.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}, {"name": "search[value]", "description": "Reference or aligned gene ID fragment.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "draw", "description": "Optional DataTables request counter.", "location": "query", "required": false, "schema": {"type": "integer", "default": 0, "minimum": 0, "maximum": 1000000}, "constraints": "Default: 0. Min: 0. Max: 1000000"}], "example": {"length": 5}, "kwargs": {"species_code": "Dnob"}, "method": "GET", "response": "JSON: draw, recordsTotal, recordsFiltered, headers, data.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/mga/{species_code}/table/", "example_path": "/api/mga/Dnob/table/?length=5", "relative_path": "mga/{species_code}/table/", "anchor": "mga-table-data", "body_json": ""}, {"group": "families", "route": "gene-families-api", "summary": "InterPro family catalogue and paginated family members.", "parameters": [{"name": "q", "description": "Family ID or name.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 128}, "constraints": "Max length: 128"}, {"name": "gene", "description": "Gene ID fragment.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 128}, "constraints": "Max length: 128"}, {"name": "ipr", "description": "InterPro ID fragment.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 128}, "constraints": "Max length: 128"}, {"name": "species", "description": "Genome code, ALL, ORCHIDS or OUTGROUPS.", "location": "query", "required": false, "schema": {"type": "string", "default": "ALL"}, "constraints": "Default: ALL"}, {"name": "family", "description": "Select one InterPro family for member details.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 128}, "constraints": "Max length: 128"}, {"name": "page", "description": "Catalogue page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 1000000}, "constraints": "Default: 1. Min: 1. Max: 1000000"}, {"name": "page_size", "description": "Catalogue page size.", "location": "query", "required": false, "schema": {"type": "integer", "default": 10, "enum": [10, 25, 50, 100]}, "constraints": "Default: 10. Values: 10, 25, 50, 100"}, {"name": "member_page", "description": "Selected-family member page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 1000000}, "constraints": "Default: 1. Min: 1. Max: 1000000"}, {"name": "member_page_size", "description": "Member page size.", "location": "query", "required": false, "schema": {"type": "integer", "default": 10, "enum": [10, 25, 50, 100]}, "constraints": "Default: 10. Values: 10, 25, 50, 100"}, {"name": "format", "description": "JSON is already the default on this API route.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["json"]}, "constraints": "Values: json"}, {"name": "download", "description": "Optional TSV export of the filtered catalogue, selected-family members or species summary.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["catalogue", "members", "species"]}, "constraints": "Values: catalogue, members, species"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: dataset, selection, species_options, catalogue, catalogue_page and selected-family members when family is set. download returns TSV.", "notes": "", "body": null, "formats": ["application/json", "text/tab-separated-values"], "path": "/api/gene-families/", "example_path": "/api/gene-families/", "relative_path": "gene-families/", "anchor": "gene-families-api", "body_json": ""}, {"group": "pangenome", "route": "pangenome-data", "summary": "Pangenome materials, sequencing runs and data sources.", "parameters": [{"name": "material_id", "description": "Exact material ID; also filters associated runs.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "download", "description": "Optional TSV export.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["materials", "runs", "sources", "issues", "external"]}, "constraints": "Values: materials, runs, sources, issues, external"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: study, counts, materials, runs, sources, issues, reused_resources, limitations, selection_counts.", "notes": "Coverage and source limitations are included in the dataset response.", "body": null, "formats": ["application/json", "text/tab-separated-values"], "path": "/api/pangenome/", "example_path": "/api/pangenome/", "relative_path": "pangenome/", "anchor": "pangenome-data", "body_json": ""}, {"group": "genomes", "route": "api-species", "summary": "Taxonomy and genome codes.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/species/", "example_path": "/api/species/", "relative_path": "species/", "anchor": "api-species", "body_json": ""}, {"group": "genomes", "route": "api-genomes", "summary": "Genome assemblies, quality metrics, publications and file links.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/genomes/", "example_path": "/api/genomes/", "relative_path": "genomes/", "anchor": "api-genomes", "body_json": ""}, {"group": "genomes", "route": "api-files", "summary": "Available dataset-file URLs, sizes, checksums and citations.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "file_type", "description": "Exact file type, such as CDS, PEP or GFF.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "This endpoint returns file metadata and links; it does not start a download.", "body": null, "formats": ["application/json"], "path": "/api/files/", "example_path": "/api/files/", "relative_path": "files/", "anchor": "api-files", "body_json": ""}, {"group": "genomes", "route": "api-profiles", "summary": "Species encyclopedia profiles.", "parameters": [{"name": "species", "description": "Genome code or scientific-name fragment.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "genus", "description": "Genus name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "Published page reference records; unavailable measurements retain their original missing-value markers.", "body": null, "formats": ["application/json"], "path": "/api/species/profiles/", "example_path": "/api/species/profiles/", "relative_path": "species/profiles/", "anchor": "api-profiles", "body_json": ""}, {"group": "genes", "route": "api-gene-search", "summary": "Find a gene across the site's indexed datasets.", "parameters": [{"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": true, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}], "example": {"gene_id": "Dnob1g00001"}, "kwargs": {}, "method": "GET", "response": "JSON: gene_id, data (sections), unavailable_sources, preview_limit_per_source.", "notes": "Returns up to eight matches per data source, with has_more and links to the full resource.", "body": null, "formats": ["application/json"], "path": "/api/genes/search/", "example_path": "/api/genes/search/?gene_id=Dnob1g00001", "relative_path": "genes/search/", "anchor": "api-gene-search", "body_json": ""}, {"group": "annotations", "route": "api-go", "summary": "GO annotations from InterProScan.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "ipr_id", "description": "Exact InterPro identifier.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "go_id", "description": "GO term present in go_terms.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "analysis", "description": "Exact InterProScan analysis name, such as Pfam.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"species": "Dnob", "page_size": 5}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "A genome is required to keep queries scoped. GO records retain the original InterProScan hit and go_terms fields; they are not independent experimental GO evidence.", "body": null, "formats": ["application/json"], "path": "/api/annotations/go/", "example_path": "/api/annotations/go/?species=Dnob&page_size=5", "relative_path": "annotations/go/", "anchor": "api-go", "body_json": ""}, {"group": "annotations", "route": "api-interpro", "summary": "InterProScan domain and signature hits.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "ipr_id", "description": "Exact InterPro identifier.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "go_id", "description": "GO term present in go_terms.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "analysis", "description": "Exact InterProScan analysis name, such as Pfam.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"species": "Dnob", "page_size": 5}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "A genome is required to keep queries scoped. GO records retain the original InterProScan hit and go_terms fields; they are not independent experimental GO evidence.", "body": null, "formats": ["application/json"], "path": "/api/annotations/interpro/", "example_path": "/api/annotations/interpro/?species=Dnob&page_size=5", "relative_path": "annotations/interpro/", "anchor": "api-interpro", "body_json": ""}, {"group": "annotations", "route": "api-kegg", "summary": "KEGG Orthology assignments.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "ko_id", "description": "Exact KEGG Orthology identifier, for example K00001.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"species": "Dnob", "page_size": 5}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "A genome is required to keep queries scoped. GO records retain the original InterProScan hit and go_terms fields; they are not independent experimental GO evidence.", "body": null, "formats": ["application/json"], "path": "/api/annotations/kegg/", "example_path": "/api/annotations/kegg/?species=Dnob&page_size=5", "relative_path": "annotations/kegg/", "anchor": "api-kegg", "body_json": ""}, {"group": "regulation", "route": "api-regulatory", "summary": "Transcription factors, regulators and protein kinases.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "type", "description": "Protein class.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["TF", "TR", "PK"]}, "constraints": "Values: TF, TR, PK"}, {"name": "family", "description": "Exact family name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"species": "Dnob", "page_size": 5}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/regulatory-proteins/", "example_path": "/api/regulatory-proteins/?species=Dnob&page_size=5", "relative_path": "regulatory-proteins/", "anchor": "api-regulatory", "body_json": ""}, {"group": "regulation", "route": "api-m6a", "summary": "m6A writers, readers and erasers.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "factor", "description": "Regulator class.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["writers", "readers", "erasers"]}, "constraints": "Values: writers, readers, erasers"}, {"name": "family", "description": "Family within the selected class: MTA70, WTAP, HAKAI, VIRILIZER, YTH or AlkB.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"species": "Dnob", "page_size": 5}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/m6a/", "example_path": "/api/m6a/?species=Dnob&page_size=5", "relative_path": "m6a/", "anchor": "api-m6a", "body_json": ""}, {"group": "regulation", "route": "api-duplications", "summary": "Gene duplication pairs and duplication types.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "type", "description": "Duplication class.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["WGD", "TD", "PD", "TRD", "DSD"]}, "constraints": "Values: WGD, TD, PD, TRD, DSD"}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"species": "Dnob", "page_size": 5}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/duplications/", "example_path": "/api/duplications/?species=Dnob&page_size=5", "relative_path": "duplications/", "anchor": "api-duplications", "body_json": ""}, {"group": "expression", "route": "api-expression-species", "summary": "Genomes with an installed expression matrix.", "parameters": [{"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/expression/species/", "example_path": "/api/expression/species/", "relative_path": "expression/species/", "anchor": "api-expression-species", "body_json": ""}, {"group": "expression", "route": "api-expression", "summary": "Gene expression values across tissues.", "parameters": [{"name": "species_code", "description": "Code from expression/species/.", "location": "path", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "q", "description": "Gene ID fragment.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "metric", "description": "Expression unit.", "location": "query", "required": false, "schema": {"type": "string", "default": "TPM", "enum": ["TPM", "FPKM"]}, "constraints": "Default: TPM. Values: TPM, FPKM"}, {"name": "tissue", "description": "Exact tissue label from response metadata; omit for all tissues.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"page_size": 5}, "kwargs": {"species_code": "Dnob"}, "method": "GET", "response": "JSON: data (gene_id, values), count, pagination, species, scientific_name, metric, tissues, selected_tissue.", "notes": "Only installed expression matrices are listed; pending species return 404. Values retain their original units.", "body": null, "formats": ["application/json"], "path": "/api/expression/{species_code}/", "example_path": "/api/expression/Dnob/?page_size=5", "relative_path": "expression/{species_code}/", "anchor": "api-expression", "body_json": ""}, {"group": "expression", "route": "api-transcriptome-runs", "summary": "RNA-seq studies, samples and sequencing-run references.", "parameters": [{"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "Study-level catalogue entries may link to a BioProject without an individual run accession.", "body": null, "formats": ["application/json"], "path": "/api/transcriptome/runs/", "example_path": "/api/transcriptome/runs/", "relative_path": "transcriptome/runs/", "anchor": "api-transcriptome-runs", "body_json": ""}, {"group": "metabolites", "route": "api-metabolites", "summary": "Metabolite structures, identifiers and linked species.", "parameters": [{"name": "cid", "description": "Exact PubChem CID.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "class", "description": "Exact compound class.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "species", "description": "Text within linked-species metadata.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "Returns the same imported records as the metabolome page, including their original species associations.", "body": null, "formats": ["application/json"], "path": "/api/metabolites/", "example_path": "/api/metabolites/", "relative_path": "metabolites/", "anchor": "api-metabolites", "body_json": ""}, {"group": "metabolites", "route": "api-metabolite-literature", "summary": "Published floral metabolite observations and citations.", "parameters": [{"name": "species", "description": "Genome code or exact scientific name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/metabolites/literature/", "example_path": "/api/metabolites/literature/", "relative_path": "metabolites/literature/", "anchor": "api-metabolite-literature", "body_json": ""}, {"group": "pathways", "route": "api-pathways", "summary": "Pathway descriptions, candidate families and evidence notes.", "parameters": [{"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/pathways/", "example_path": "/api/pathways/", "relative_path": "pathways/", "anchor": "api-pathways", "body_json": ""}, {"group": "pathways", "route": "api-pathway-genes", "summary": "Floral-scent pathway candidate genes.", "parameters": [{"name": "slug", "description": "Pathway slug.", "location": "path", "required": true, "schema": {"type": "string", "enum": ["mep", "mva", "phenylpropanoid", "oxylipin"]}, "constraints": "Values: mep, mva, phenylpropanoid, oxylipin"}, {"name": "species", "description": "Genome code from the species catalogue.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "family", "description": "Exact candidate-family name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "include_sequence", "description": "Include the protein sequence in each returned record.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["0", "1"], "default": "0"}, "constraints": "Default: 0. Values: 0, 1"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"page_size": 5}, "kwargs": {"slug": "mep"}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "Candidate membership does not establish experimental function. Evidence, quality notes and references are returned with each page.", "body": null, "formats": ["application/json"], "path": "/api/pathways/{slug}/genes/", "example_path": "/api/pathways/mep/genes/?page_size=5", "relative_path": "pathways/{slug}/genes/", "anchor": "api-pathway-genes", "body_json": ""}, {"group": "ancestral", "route": "api-ancestral", "summary": "Ancestral reference codes and published file URLs.", "parameters": [{"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/ancestral/", "example_path": "/api/ancestral/", "relative_path": "ancestral/", "anchor": "api-ancestral", "body_json": ""}, {"group": "ancestral", "route": "api-ancestral-genes", "summary": "Ancestral reference gene coordinates.", "parameters": [{"name": "ancestor", "description": "Ancestral reference code.", "location": "path", "required": true, "schema": {"type": "string", "enum": ["ADK", "AMK", "AEK", "AOKPOSTOCT", "AOKPREOCT"]}, "constraints": "Values: ADK, AMK, AEK, AOKPOSTOCT, AOKPREOCT"}, {"name": "gene_id", "description": "Exact gene ID.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "chromosome", "description": "Exact ancestral chromosome name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Ancestral gene ID fragment.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {"page_size": 5}, "kwargs": {"ancestor": "ADK"}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/ancestral/{ancestor}/genes/", "example_path": "/api/ancestral/ADK/genes/?page_size=5", "relative_path": "ancestral/{ancestor}/genes/", "anchor": "api-ancestral-genes", "body_json": ""}, {"group": "reference", "route": "api-ecology", "summary": "Ecology, cultivation and conservation reference records.", "parameters": [{"name": "species", "description": "Genome code or scientific-name fragment.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "genus", "description": "Genus name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "Page reference summaries, not a measured phenotype matrix. Original evidence and missing-value markers are retained.", "body": null, "formats": ["application/json"], "path": "/api/reference/ecology/", "example_path": "/api/reference/ecology/", "relative_path": "reference/ecology/", "anchor": "api-ecology", "body_json": ""}, {"group": "reference", "route": "api-flowers", "summary": "Published floral phenotype overview.", "parameters": [{"name": "species", "description": "Genome code or scientific-name fragment.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "genus", "description": "Genus name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "Page reference summaries, not a measured phenotype matrix. Original evidence and missing-value markers are retained.", "body": null, "formats": ["application/json"], "path": "/api/reference/flowers/", "example_path": "/api/reference/flowers/", "relative_path": "reference/flowers/", "anchor": "api-flowers", "body_json": ""}, {"group": "reference", "route": "api-flower-traits", "summary": "Literature summaries of flower colour, scent and associated genes.", "parameters": [{"name": "species", "description": "Genome code or scientific-name fragment.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "genus", "description": "Genus name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "Page reference summaries, not a measured phenotype matrix. Original evidence and missing-value markers are retained.", "body": null, "formats": ["application/json"], "path": "/api/reference/flower-traits/", "example_path": "/api/reference/flower-traits/", "relative_path": "reference/flower-traits/", "anchor": "api-flower-traits", "body_json": ""}, {"group": "reference", "route": "api-flower-development", "summary": "Published flower-development and MADS-box reference summaries.", "parameters": [{"name": "species", "description": "Genome code or scientific-name fragment.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "genus", "description": "Genus name.", "location": "query", "required": false, "schema": {"type": "string"}, "constraints": ""}, {"name": "q", "description": "Text contained in the displayed names or annotations.", "location": "query", "required": false, "schema": {"type": "string", "maxLength": 255}, "constraints": "Max length: 255"}, {"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "Page reference summaries, not a measured phenotype matrix. Original evidence and missing-value markers are retained.", "body": null, "formats": ["application/json"], "path": "/api/reference/flower-development/", "example_path": "/api/reference/flower-development/", "relative_path": "reference/flower-development/", "anchor": "api-flower-development", "body_json": ""}, {"group": "statistics", "route": "api-statistics", "summary": "Available statistics topics.", "parameters": [{"name": "page", "description": "Page number.", "location": "query", "required": false, "schema": {"type": "integer", "default": 1, "minimum": 1, "maximum": 100000}, "constraints": "Default: 1. Min: 1. Max: 100000"}, {"name": "page_size", "description": "Records per page.", "location": "query", "required": false, "schema": {"type": "integer", "default": 25, "minimum": 1, "maximum": 100}, "constraints": "Default: 25. Min: 1. Max: 100"}], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: data, count and pagination (page, page_size, total, pages, next, previous).", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/statistics/", "example_path": "/api/statistics/", "relative_path": "statistics/", "anchor": "api-statistics", "body_json": ""}, {"group": "statistics", "route": "api-statistic-topic", "summary": "The data underlying a portal statistics page.", "parameters": [{"name": "topic", "description": "Topic slug from statistics/.", "location": "path", "required": true, "schema": {"type": "string"}, "constraints": ""}, {"name": "method", "description": "For synteny statistics only.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["colinearscan", "mcscanx"], "default": "colinearscan"}, "constraints": "Default: colinearscan. Values: colinearscan, mcscanx"}, {"name": "metric", "description": "For synteny statistics: number of blocks or gene pairs.", "location": "query", "required": false, "schema": {"type": "string", "enum": ["block_count", "gene_pair_count"], "default": "block_count"}, "constraints": "Default: block_count. Values: block_count, gene_pair_count"}], "example": {}, "kwargs": {"topic": "genome-assembly"}, "method": "GET", "response": "JSON: topic, title and the statistics page's structured summary, panels or tree.", "notes": "Unavailable source datasets return 503. This is aggregated data; record-level queries use the corresponding module endpoint.", "body": null, "formats": ["application/json"], "path": "/api/statistics/{topic}/", "example_path": "/api/statistics/genome-assembly/", "relative_path": "statistics/{topic}/", "anchor": "api-statistic-topic", "body_json": ""}, {"group": "system", "route": "health-check", "summary": "Check whether the application is responding.", "parameters": [], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON health status; this does not guarantee that every dataset is installed.", "notes": "", "body": null, "formats": ["application/json"], "path": "/api/health/", "example_path": "/api/health/", "relative_path": "health/", "anchor": "health-check", "body_json": ""}, {"group": "system", "route": "api-csrf", "summary": "Get a CSRF token and matching cookie for the two POST endpoints.", "parameters": [], "example": {}, "kwargs": {}, "method": "GET", "response": "JSON: csrf_token, cookie_name. Also sets the matching cookie.", "notes": "Keep this response's cookies and send csrf_token in the X-CSRFToken header. No API key is needed for public data.", "body": null, "formats": ["application/json"], "path": "/api/csrf/", "example_path": "/api/csrf/", "relative_path": "csrf/", "anchor": "api-csrf", "body_json": ""}], "data_endpoint_count": 44, "pagination": {"new_endpoints": "page=1&page_size=25; page<=100000; page_size<=100. Follow pagination.next.", "existing_endpoints": "Use the pagination parameters declared for each endpoint."}, "csrf": "/api/csrf/"}