API structure has changed
8 structure changes including:
8 Modifications
Modified
8
Breaking
GET /api/v1/comments
- Response
-
200 response Modified
-
application/json content type Modified
-
total_count, items properties Modified
-
Properties are now required Breaking
-
Properties are now required
-
total_count, items properties Modified
-
application/json content type Modified
GET /api/v1/comments/{commentId}
- Response
-
200 response Modified
-
application/json content type Modified
-
id, content, created_at, reply_count, first_replies_authors properties Modified
-
Properties are now required Breaking
-
Properties are now required
- author property Modified
-
id, content, created_at, reply_count, first_replies_authors properties Modified
-
application/json content type Modified
GET /api/v1/comments/{parentCommentId}/replies
- Response
-
200 response Modified
-
application/json content type Modified
-
total_count, items properties Modified
-
Properties are now required Breaking
-
Properties are now required
-
total_count, items properties Modified
-
application/json content type Modified
GET /api/v1/discussions
- Response
-
200 response Modified
-
application/json content type Modified
-
Full types went from
array[object]
toobject
Breaking
- total_count, items, Additional properties are NOT allowed properties Added
-
Full types went from
-
application/json content type Modified
- Query
- offset, count query parameters Added
GET /api/v1/discussions/{discussionId}
- Response
-
200 response Modified
-
application/json content type Modified
-
id, title, description properties Modified
-
Properties are now required Breaking
-
Properties are now required
- author property Modified
- created_at property Added
-
id, title, description properties Modified
-
application/json content type Modified
POST /api/v1/comments
- Response
-
201 response Modified
-
application/json content type Modified
-
id, content, created_at, reply_count, first_replies_authors properties Modified
-
Properties are now required Breaking
-
Properties are now required
- author property Modified
-
id, content, created_at, reply_count, first_replies_authors properties Modified
-
application/json content type Modified
POST /api/v1/comments/{parentCommentId}/replies
- Response
-
201 response Modified
-
application/json content type Modified
-
id, content, created_at, reply_count, first_replies_authors properties Modified
-
Properties are now required Breaking
-
Properties are now required
- author property Modified
-
id, content, created_at, reply_count, first_replies_authors properties Modified
-
application/json content type Modified
POST /api/v1/discussions
- Response
-
201 response Modified
-
application/json content type Modified
-
id, title, description properties Modified
-
Properties are now required Breaking
-
Properties are now required
- author property Modified
- created_at property Added
-
id, title, description properties Modified
-
application/json content type Modified