http://localhost/erm-usage-harvester/periodic
This documents the API calls that can be made to mod-erm-usage-harvester periodic API
Manage periodic harvesting configuration
GET /erm-usage-harvester/periodic
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "PeriodicConfig Schema",
"description": "Settings for periodic harvesting",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"startAt": {
"description": "the date periodic harvesting should run for the first time",
"type": "string",
"format": "date-time"
},
"lastTriggeredAt": {
"description": "the date periodic harvesting was last triggered at",
"type": "string",
"format": "date-time"
},
"periodicInterval": {
"description": "period between harvesting attempts",
"type": "string",
"enum": [
"daily",
"weekly",
"monthly"
]
}
},
"required": [
"startAt",
"periodicInterval"
],
"additionalProperties": true
}
POST /erm-usage-harvester/periodic
Media type: application/json
Type: json
Content:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "PeriodicConfig Schema",
"description": "Settings for periodic harvesting",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"startAt": {
"description": "the date periodic harvesting should run for the first time",
"type": "string",
"format": "date-time"
},
"lastTriggeredAt": {
"description": "the date periodic harvesting was last triggered at",
"type": "string",
"format": "date-time"
},
"periodicInterval": {
"description": "period between harvesting attempts",
"type": "string",
"enum": [
"daily",
"weekly",
"monthly"
]
}
},
"required": [
"startAt",
"periodicInterval"
],
"additionalProperties": true
}
DELETE /erm-usage-harvester/periodic