You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
2
1
Thank you for considering contributing to this project! Contributions are welcome and appreciated. Please follow the guidelines below to ensure a smooth collaboration.
3
2
4
3
## How to Contribute
@@ -52,8 +51,6 @@ This project is licensed under the [MIT License](LICENSE.md). By contributing to
52
51
- If you have any questions or need assistance, feel free to reach out to the project maintainers.
53
52
- We appreciate your time and effort in contributing to this project!
# Computational Toxicology and Exposure (CTX) APIs - CTX Exposure API
2
2
3
-
## Overview
4
-
The Exposure Microservice is a RESTful API designed to manage and provide Exposure data. It interacts with a PostgreSQL database and offers various endpoints for Exposure-related operations.
Data underlying the Exposure API comes from the Chemicals and Products Database (CPDat) [Learn more: The Chemical and Products Database, a resource for exposure-relevant data on chemicals in consumer products](https://www.nature.com/articles/sdata2018125) and predictions from EPA’s Quantitative Structure Use Relationship (QSUR) models [Learn more: High-throughput screening of chemicals as functional substitutes using structure-based classification models](https://pubs.rsc.org/en/content/articlelanding/2017/gc/c6gc02744j).
7
+
## Welcome to the GitHub repository for the CTX Exposure API
8
8
9
-
For exposure-related questions, contact the Chemical Exposure Knowledgebase team (chemexpo.support@epa.gov).
9
+
Originating from the US EPA's Center of Computational Toxicology and Exposure (CCTE), the CTX Exposure API is a RESTful API designed to manage and provide Exposure data. It interacts with a PostgreSQL database and offers various endpoints for Exposure-related operations. More information on the CTX API development and utility, as well as guidance on how to technically access and use them, is available here: https://www.epa.gov/comptox-tools/computational-toxicology-and-exposure-apis
10
10
11
-
## Technologies Used
11
+
- If you would like to report a bug or have other questions related to the CTX APIs, please contact the [CTX API Admins](mailto:[email protected]).
12
+
- If you are interested in contributing, please submit a issue or start a discussion. See [CONTRIBUTING](https://github.com/USEPA/ccte-api-hazard/blob/dev/CONTRIBUTING.md) for more information.
13
+
14
+
### Available Data
15
+
Data underlying the Exposure API comes from the [Chemicals and Products Database (CPDat)](https://www.nature.com/articles/sdata2018125), the Multimedia Monitoring Database (MMDB)](https://epa.figshare.com/articles/dataset/Multimedia_Monitoring_Database_MMDB_/17065024), [httk](https://github.com/USEPA/CompTox-ExpoCast-httk) simulation data, and predictions from Systematic Empirical Evaluation of Models (SEEM) and [Quantitative Structure Use Relationship (QSUR) models](https://github.com/HumanExposure/qsur).
16
+
17
+
For exposure-related questions, review the [ChemExpo User guide](https://comptox.epa.gov/chemexpo/static/user_guide/) or contact the [Chemical Exposure Knowledgebase team](mailto:[email protected]).
18
+
19
+
### Technologies Used
12
20
-**Java**: Programming language used for the development of the application.
13
21
-**Spring Boot**: Framework used to create stand-alone, production-grade Spring-based applications.
14
22
-**Spring Data JPA**: Part of the Spring Data family, used to simplify data access and persistence.
@@ -20,21 +28,21 @@ For exposure-related questions, contact the Chemical Exposure Knowledgebase team
20
28
-**Swagger/OpenAPI**: Used for API documentation and testing.
21
29
-**Testcontainers**: Java library used for integration testing with Docker containers.
22
30
23
-
## Configuration
31
+
###Configuration
24
32
The application configuration is managed through properties files. The main configuration file is `application.properties`, and environment-specific configurations can be added as needed.
25
33
26
-
## Build and Deployment
34
+
###Build and Deployment
27
35
The project uses Maven for build and deployment processes. Continuous integration and deployment can be set up using tools like GitHub Actions.
28
36
29
-
## Getting Started
37
+
###Getting Started
30
38
To build and run the project locally, use the following Maven commands:
31
39
32
40
```sh
33
41
mvn clean install
34
42
mvn spring-boot:run
35
43
```
36
44
37
-
## Project Structure
45
+
###Project Structure
38
46
```plaintext
39
47
src/
40
48
├── main/
@@ -51,7 +59,7 @@ src/
51
59
└── test/
52
60
```
53
61
54
-
## Dependencies
62
+
###Dependencies
55
63
-`spring-boot-starter-web`
56
64
-`spring-boot-starter-data-rest`
57
65
-`spring-boot-starter-data-jpa`
@@ -64,11 +72,5 @@ src/
64
72
-`testcontainers`
65
73
-`jackson-datatype-hibernate6`
66
74
67
-
## Contributing
68
-
Contributions are welcome! Please read the `CONTRIBUTING.md` file for guidelines.
69
-
70
-
## Contact
71
-
For any inquiries, please contact the project maintainer. **[Rashid, Asif](https://github.com/asif-rashid)** , **[Dirks, Brianna](https://github.com/bridirks)**, **[Feshuk, Madison](https://github.com/madison-feshuk)**
72
-
73
75
## Disclaimer
74
76
The United States Environmental Protection Agency (EPA) GitHub project code is provided on an "as is" basis and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or the United States Government.
Copy file name to clipboardExpand all lines: src/main/java/gov/epa/ccte/api/exposure/config/OpenApiConfig.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,21 +14,21 @@
14
14
@Configuration
15
15
@OpenAPIDefinition(
16
16
info = @Info(
17
-
title = "Computational Toxicology and Exposure Data APIs - Exposure",
18
-
description = "The Exposure APIs are part of a set of public computational toxicology and exposure APIs and provide exposure data through a set of API endpoints.",
17
+
title = "Computational Toxicology and Exposure (CTX) APIs - CTX Exposure API",
18
+
description = "The CTX Exposure API is part of US EPA's Computational Toxicology and Exposure APIs. The CTX Exposure API provides programmtic access to exposure data through a set of endpoints.",
@Operation(summary = "Find Biomonitoring data by dtxsid with ccd projection",
69
-
description = "return NHANES Inferences for requested dtxsid" +
70
-
"there is an available projection for ccd exposure biomonitoring page:" +
71
-
"ccd-biomonitoring" +
72
-
"If no projection is specified, the default CCDBiomonitoring data will be returned")
68
+
@Operation(summary = "Get Biomonitoring data by DTXSID with CCD projection",
69
+
description = "return NHANES inferences data for requested DTXSID. There is an available projection aligned with what's available on the CCD Exposure Biomonitoring tab: ccd-biomonitoring. " +
70
+
"If no projection is specified, a default CCDBiomonitoring projection will be returned.")
description = "API endpoints for demographic prediction in exposure data.")
23
+
description = "Collection of endpoints with SEEM demographic exposure prediction data. SEEM (Systematic Empirical Evaluation of Models) is a framework developed by the US EPA to predict exposure to chemicals across the general population and demographic subsets of the US.")
24
24
@SecurityRequirement(name = "api_key")
25
25
@RequestMapping( value = "exposure/seem/demographic", produces = MediaType.APPLICATION_JSON_VALUE)
26
26
publicinterfaceDemoExpoPredictionApi {
27
27
28
-
@Operation(summary = "Find demographic prediction SEEMs data by dtxsid", description = "return demographic prediction SEEMs data for requested dtxsid")
28
+
@Operation(summary = "Get SEEM Demographic Exposure Prediction data by DTXSID", description = "return SEEM demographic prediction data for requested DTXSID")
@Operation(summary = "Find demographic prediction SEEMs data by batch of dtxsids", description = "return demographic prediction SEEMs data for requested dtxsids")
39
+
@Operation(summary = "Get SEEM Demographic Exposure Prediction data for batch of DTXSIDs", description = "return SEEM demographic prediction data for requested DTXSIDs")
Copy file name to clipboardExpand all lines: src/main/java/gov/epa/ccte/api/exposure/web/rest/FunctionalUseApi.java
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,36 +22,36 @@
22
22
* REST controller for getting the {@link gov.epa.ccte.api.exposure.domain.FunctionalUse}s.
23
23
*/
24
24
@Tag(name = "Functional Use Resource",
25
-
description = "API endpoints for functional use in exposure data.")
25
+
description = "Collection of endpoints with functional use data. Functional use describes a chemical's role in a product or process, which can help determine exposure pathways used to assess chemical exposure. These curated data are sourced from US EPA's Chemicals and Products Database (CPDat).")
26
26
@SecurityRequirement(name = "api_key")
27
27
@RequestMapping( value = "exposure/functional-use", produces = MediaType.APPLICATION_JSON_VALUE )
28
28
publicinterfaceFunctionalUseApi {
29
29
30
-
@Operation(summary = "Find functional-use data by dtxsid", description = "return functional-use data for requested dtxsid")
30
+
@Operation(summary = "Get functionaluse data by DTXSID", description = "return functionaluse data for requested DTXSID")
0 commit comments