Comments

Export comments from a map

Returns an export of the map comments.

The export can be generated in JSON or CSV format, you can specify the format with the format query parameter, which can be either json or csv. It defaults to json.

get
Authorizations
Path parameters
map_idstringRequired

The ID of the map to export comments from.

Query parameters
formatstringOptional

The format to export the comments in, either 'csv' or 'json' (default)

Responses
200
Comment export response
application/json
get
GET /api/v2/maps/{map_id}/comments/export HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_API_KEY
Accept: */*
[]

Resolve a comment

Resolve an individual comment based on it's ID.

post
Authorizations
Path parameters
map_idstringRequired

The ID of the map that contains the comment.

comment_idstringRequired

The ID of the comment to resolve.

Responses
200
Comment resolved response
application/json
post
POST /api/v2/maps/{map_id}/comments/{comment_id}/resolve HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_API_KEY
Accept: */*
{
  "comment_id": "luCHyMruTQ6ozGk3gPJfEB"
}

Delete a comment

delete
Authorizations
Path parameters
map_idstringRequired

The ID of the map that contains the comment.

comment_idstringRequired

The ID of the comment to delete.

Responses
204
No Content
delete
DELETE /api/v2/maps/{map_id}/comments/{comment_id} HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_API_KEY
Accept: */*

No content

Last updated

Was this helpful?