Skip to content

Commit

Permalink
adding asset by subsector count endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tingold committed Oct 25, 2023
1 parent 08c74aa commit 42b618f
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion openapi/v4/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"Assets"
],
"summary": "Provides a list of countries (ISO3 codes) and the number of assets within it",
"description": "Not implemented",
"description": "Provides a list of countries (ISO3 codes) and the number of assets within it",
"deprecated": false,
"operationId": "get-asset-count-by-country",
"responses": {
Expand All @@ -167,6 +167,32 @@
}
}
},
"/v4/assets/subsectors": {
"get": {
"tags": [
"Assets"
],
"summary": "Provides a list of subsectors and the number of assets for each",
"description": "Provides a list of subsectors and the number of assets for each",
"deprecated": false,
"operationId": "get-asset-count-by-subsector",
"responses": {
"200": {
"description": "List of subsectors and the number of assets in each",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {
"type": "integer"
}
}
}
}
}
}
}
},
"/v4/assets/emissions/remainders": {
"get": {
"tags": [
Expand Down

0 comments on commit 42b618f

Please sign in to comment.