Skip to content

createAnnouncement

POST
/v1/developers/projects/{project_id}/announcements
curl --request POST \
--url https://testnet-rpc.necter.network/v1/developers/projects/example/announcements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "title": "example", "content": "example", "type": "update" }'
project_id
required
string
/^0x[0-9a-f]{64}$/
Media typeapplication/json
object
title
required
string
<= 120 characters
content
required
string
<= 8000 characters
type
required
string
Allowed values: update maintenance feature alert

Created

Media typeapplication/json
object
announcement_id
required
string
project_id
required
string
/^0x[0-9a-f]{64}$/
title
required
string
content
required
string
type
required
string
Allowed values: update maintenance feature alert
author

Lowercase EVM address

string
/^0x[0-9a-f]{40}$/
created_at
required
integer

Example

{
"type": "update"
}

Authenticated but not allowed (forbidden, not_owner, not_enrolled, not_verified, scope_missing)

Media typeapplication/json
object
error
required

Stable machine code

string
message
required
string
details
object
key
additional properties
any
request_id
required
string

Example generated

{
"error": "example",
"message": "example",
"details": {},
"request_id": "example"
}