Skip to main content
QUERY
protocolComments(protocolId: String!, protocolVersion: Int!): [ProtocolComment!]!

Arguments

protocolId
String!
required

Id of the protocol.

protocolVersion
Int!
required

Version of the protocol.

Returns

active
Boolean!

True while the thread the comment belongs to is open, false once it has been resolved.

author

The user who wrote the comment.

id
String!

Id of the comment.

replies

Replies to the comment. Empty if there are no replies.

section
String!

The part of the protocol the comment is on: one of 'OVERVIEW' (Overview), 'MATERIALS' (Materials) or 'SAFETY' (Safety), or 'STEP:' followed by the id of a procedure step.

text
String!

Text of the comment.

updatedAt
DateTime!

When the comment was last changed.

Query
Variables
Response