The Context Is Yours to Define
Attach Comments to Any Entity in Your Domain
One Interface for Every Comment Surface
Every comment is associated with a context — an identifier and an integer type the consuming application defines.
The context can be an article ID, a support ticket number, a product SKU, a forum thread, or any other entity your application manages.
The Comments Api imposes no schema on what constitutes a context.
Consumer-Defined Types and Statuses
Comment type and status are integers whose meaning belongs entirely to the consuming application.
A status can represent published, archived, flagged, or pending review — whatever the domain requires.
A type can distinguish a reply from a review, or a reaction from a note.
The Comments Api stores and returns these values without interpreting them.