Notifications

Create event

Create a single notification event threshold. Configure alerts for when storage usage, file count, traffic, or requests exceed specified limits for a storage or bucket.

post/storage/notifications/v1/event

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/storage/notifications/v1/event
  • Auth
    HTTP apikey

Query parameters

client_idinteger

Client ID

Request body

bucket_namestring
bytesinteger

Bytes as limit

countinteger

Count as limit

namestring required

name of type notification

storage_namestring
uuidstring

Example request

{
  "bytes": 500,
  "count": 5,
  "name": "reaching_used_space, reaching_files_quantity, reaching_used_traffic, reaching_used_requests"
}

Response

EventResponse

bucket_namestring
bytesinteger

Bytes as limit

countinteger

Count as limit

namestring required

name of type notification

storage_namestring
uuidstring

Example response

{
  "bytes": 500,
  "count": 5,
  "name": "reaching_used_space, reaching_files_quantity, reaching_used_traffic, reaching_used_requests"
}

Changes

No recorded changes to this operation across all 76 revisions of this API.