filecoin-project / filplus-backend

Other
2 stars 1 forks source link

Add new endpoint to notify allocator that client used 75% of DataCap #205

Closed Filip-L closed 2 months ago

Filip-L commented 2 months ago

Add new endpoint to notify allocator that client used 75% of DataCap

Endpoint: [POST] application/notify_refill

Description: The endpoint is used by the SSA bot and, based on the data received, NotifyRefillInfo adds a comment to the related GitHub issue and changes the label to Refill is needed.

Additionally, the /application/refill endpoint has been removed as it is no longer needed.

Example NotifyRefillInfo:

{
    "owner": "repo_owner",
    "repo": "repo_name",
    "issue_number": "issue_number"
}

Deployment Considerations:

No special actions are required.