From 6500694684818ceb1a2897af64261e498516dded Mon Sep 17 00:00:00 2001 From: Brianna Dirks <148362578+bridirks@users.noreply.github.com> Date: Tue, 9 Dec 2025 17:05:51 -0500 Subject: [PATCH 1/4] Update bioactivity.json --- public/docs/bioactivity.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/bioactivity.json b/public/docs/bioactivity.json index 8baca9f..4fc8110 100644 --- a/public/docs/bioactivity.json +++ b/public/docs/bioactivity.json @@ -8,7 +8,7 @@ "servers": [ { "url": "https://ctx-api-stg.ccte.epa.gov", - "description": "Development Environment" + "description": "Staging Environment" } ], "tags": [ From 31ca60951ff418d28718d5ee3473b5a7114f7bde Mon Sep 17 00:00:00 2001 From: Brianna Dirks <148362578+bridirks@users.noreply.github.com> Date: Tue, 9 Dec 2025 17:06:22 -0500 Subject: [PATCH 2/4] Update exposure.json --- public/docs/exposure.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/exposure.json b/public/docs/exposure.json index e4c29ad..3ecb360 100644 --- a/public/docs/exposure.json +++ b/public/docs/exposure.json @@ -8,7 +8,7 @@ "servers": [ { "url": "https://ctx-api-stg.ccte.epa.gov", - "description": "Development Environment" + "description": "Staging Environment" } ], "tags": [ From cab1bb5a08c16fb4932f42de54a16b2468d7415d Mon Sep 17 00:00:00 2001 From: Brianna Dirks <148362578+bridirks@users.noreply.github.com> Date: Tue, 9 Dec 2025 17:06:36 -0500 Subject: [PATCH 3/4] Update hazard.json --- public/docs/hazard.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/hazard.json b/public/docs/hazard.json index 59f84ac..64ba61e 100644 --- a/public/docs/hazard.json +++ b/public/docs/hazard.json @@ -8,7 +8,7 @@ "servers": [ { "url": "https://ctx-api-stg.ccte.epa.gov", - "description": "Development Environment" + "description": "Staging Environment" } ], "tags": [ From 275b8cc84253f10509fc5966a75a8c6c05f9aa76 Mon Sep 17 00:00:00 2001 From: bedirks Date: Thu, 11 Dec 2025 16:42:07 -0500 Subject: [PATCH 4/4] Hide additional chemical endpoints from public view #19 --- public/docs/chemical.json | 272 -------------------------------------- 1 file changed, 272 deletions(-) diff --git a/public/docs/chemical.json b/public/docs/chemical.json index e71aac5..5e5b8f4 100644 --- a/public/docs/chemical.json +++ b/public/docs/chemical.json @@ -39,62 +39,9 @@ { "name": "Lit Search Data Resource", "description": "Collection of endpoints containing extra chemical data pertaining to literature and patents." - }, - { - "name": "PubChem to GHS Classification Resource", - "description": "Collection of endpoints to check if GHS classification safety data in available in PubChem." - }, - { - "name": "Wikipedia to GHS Classification Resource", - "description": "Collection of endpoints to check if GHS classification safety data is available on Wikipedia." } ], "paths": { - "/chemical/wikipedia/by-dtxsid/": { - "post": { - "tags": [ - "Wikipedia to GHS Classification Resource" - ], - "summary": "Check for link for a batch of DTXSIDs", - "description": "This endpoint will return Y if Wikipedia has GHS Safety data, otherwise N.", - "operationId": "byBatchDtxsid", - "requestBody": { - "description": "JSON array of DSSTox Substance Identifiers", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "example": "[\"DTXSID7020182\",\"DTXSID9020112\"]" - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WikipediaLinkResponse" - } - } - } - } - } - }, - "security": [ - { - "api_key": [] - } - ] - } - }, "/chemical/synonym/search/by-dtxsid/": { "post": { "tags": [ @@ -441,51 +388,6 @@ ] } }, - "/chemical/ghslink/to-dtxsid/": { - "post": { - "tags": [ - "PubChem to GHS Classification Resource" - ], - "summary": "Check for link for a batch of DTXSIDs", - "description": "This endpoint will return Y if Pubchem has GHS Safety data, otherwise N.", - "operationId": "byBatchDtxsid_1", - "requestBody": { - "description": "JSON array of DSSTox Substance Identifiers", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "example": "[\"DTXSID7020182\",\"DTXSID9020112\"]" - } - }, - "required": true - }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GhsLinkResponse" - } - } - } - } - } - }, - "security": [ - { - "api_key": [] - } - ] - } - }, "/chemical/fate/search/by-dtxsid/": { "post": { "tags": [ @@ -768,45 +670,6 @@ ] } }, - "/chemical/wikipedia/by-dtxsid/{dtxsid}": { - "get": { - "tags": [ - "Wikipedia to GHS Classification Resource" - ], - "summary": "Check for link by DTXSID", - "description": "This endpoint will return Y if Wikipedia has GHS Safety data, otherwise N.", - "operationId": "byDtxsid", - "parameters": [ - { - "name": "dtxsid", - "in": "path", - "description": "DSSTox Substance Identifier", - "required": true, - "schema": { - "type": "string" - }, - "example": "DTXSID7020182" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WikipediaLinkResponse" - } - } - } - } - }, - "security": [ - { - "api_key": [] - } - ] - } - }, "/chemical/synonym/search/by-dtxsid/{dtxsid}": { "get": { "tags": [ @@ -2218,45 +2081,6 @@ ] } }, - "/chemical/ghslink/to-dtxsid/{dtxsid}": { - "get": { - "tags": [ - "PubChem to GHS Classification Resource" - ], - "summary": "Check for link by DTXSID", - "description": "This endpoint will return Y if Pubchem has GHS Safety data, otherwise N.", - "operationId": "byDtxsid_1", - "parameters": [ - { - "name": "dtxsid", - "in": "path", - "description": "DSSTox Substance Identifier", - "required": true, - "schema": { - "type": "string" - }, - "example": "DTXSID7020182" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GhsLinkResponse" - } - } - } - } - }, - "security": [ - { - "api_key": [] - } - ] - } - }, "/chemical/file/mol/search/by-dtxsid/{dtxsid}": { "get": { "tags": [ @@ -3000,77 +2824,10 @@ } ] } - }, - "/chemical/all": { - "get": { - "tags": [ - "Chemical Details Resource" - ], - "summary": "Get all data", - "description": "return all chemical details. The next parameter allows pagination for retrieval, but retrieval is limited to batches of 1000 per request. Please consider downloading the DSSTOX database instead accessing this information via API.", - "operationId": "getAllChemicalDetails", - "parameters": [ - { - "name": "next", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "default": 1 - } - }, - { - "name": "projection", - "in": "query", - "description": "Specifies if projection is used. Option: all-ids. If omitted, the default ChemicalDetailStandard2 data is returned.", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "type": "string", - "oneOf": [ - { - "$ref": "#/components/schemas/ChemicalDetailStandard2" - }, - { - "$ref": "#/components/schemas/ChemicalDetailAllIds" - } - ] - } - } - } - } - }, - "security": [ - { - "api_key": [] - } - ] - } } }, "components": { "schemas": { - "WikipediaLinkResponse": { - "type": "object", - "properties": { - "dtxsid": { - "type": "string" - }, - "safetyUrl": { - "type": "string" - } - } - }, "ChemicalSynonymAll": { "type": "object", "description": "Different types of synonyms for request dtxsid", @@ -3525,20 +3282,6 @@ "masses" ] }, - "GhsLinkResponse": { - "type": "object", - "properties": { - "dtxsid": { - "type": "string" - }, - "isSafetyData": { - "type": "boolean" - }, - "safetyUrl": { - "type": "string" - } - } - }, "ChemicalFateBatchDto": { "type": "object", "properties": { @@ -4506,21 +4249,6 @@ } } }, - "ChemicalDetailAllIds": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "dtxcid": { - "type": "string" - }, - "dtxsid": { - "type": "string" - } - } - }, "Link": { "type": "object", "properties": {