Skip to content

Commit

Permalink
adding release note
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwinship committed Mar 26, 2024
1 parent 4248d08 commit 8898d53
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/release-notes/10424-new-api-for-mdc.md
@@ -0,0 +1,11 @@
The API endpoint `api/admin/makeDataCount/{yearMonth}/processingState` has been added to Get, Create/Update(POST), and Delete a State for processing Make Data Count logged metrics
For Create/Update the 'state' is passed in through a query parameter.
Example
- `curl POST http://localhost:8080/api/admin/makeDataCount/2024-03/processingState?state=Skip`

Valid values for state are [New, Done, Skip, Processing, and Failed]
'New' can be used to re-trigger the processing of the data for the year-month specified.
'Skip' will prevent the file from being processed.
'Processing' shows the state where the file is currently being processed.
'Failed' shows the state where the file has failed and will be re-processed in the next run. If you don't want the file to be re-processed set the state to 'Skip'.
'Done' is the state where the file has been successfully processed.

0 comments on commit 8898d53

Please sign in to comment.