Skip to main content

draftPollsForEntityType

Description​

Get draft polls by IDs. Useful for fetching poll details when composing a post that is not persisted just yet. Only author of the poll can access the draft polls.


Response​

Returns a Poll


Arguments​

NameDescription
parentEntityType - PollEntityType!The parent entity type for the poll
pollIds - [String!]!The IDs of the draft polls to retrieve. Maximum of 50 draft polls can be requested.

draftPollsForEntityType(
parentEntityType: PollEntityType!
pollIds: [String!]!
): [Poll!]!