Skip to main content
GET
/
projects
/
{projectIdOrName}
/
topics
List topics
curl --request GET \
  --url https://api.withampersand.com/v1/projects/{projectIdOrName}/topics \
  --header 'X-Api-Key: <api-key>'
[
  {
    "id": "<string>",
    "name": "system-alerts",
    "projectId": "<string>",
    "createTime": "2023-11-07T05:31:56Z",
    "updateTime": "2023-11-07T05:31:56Z"
  }
]

Authorizations

X-Api-Key
string
header
required

Path Parameters

projectIdOrName
string
required

The Ampersand project ID or project name.

Response

List of topics

id
string
required

The topic ID.

name
string
required

The name of the topic. Must contain only letters, numbers, and dashes.

Maximum length: 64
Example:

"system-alerts"

projectId
string
required

The Ampersand project ID.

createTime
string<date-time>
required

The time when the topic was created.

updateTime
string<date-time>

The time when the topic was last updated.