PublishListingInput
Publish/republish copy + pin. Field names and shape are a cross-PR contract — PR 2's GraphQL documents are written against these exact names.
input PublishListingInput {
strategyID: ID!
backtestID: ID!
metaDescription: String!
title: String!
body: String!
authorHandle: String
category: MarketplaceCategory!
tags: [String!]
missionID: ID
}
Fields
PublishListingInput.strategyID ● ID! non-null scalar
The pinned strategy VERSION to publish (a Strategy row id, not a strategy family).
PublishListingInput.backtestID ● ID! non-null scalar
The publisher-chosen backtest to freeze into the listing's performance panel.
PublishListingInput.metaDescription ● String! non-null scalar
PublishListingInput.title ● String! non-null scalar
PublishListingInput.body ● String! non-null scalar
PublishListingInput.authorHandle ● String scalar
OPT-IN. Omitted/null means no publisher handle is shown.
PublishListingInput.category ● MarketplaceCategory! non-null enum
PublishListingInput.tags ● [String!] list scalar
Up to 5 free-text tags.
PublishListingInput.missionID ● ID scalar
OPTIONAL. Publish an improve Mission template's outcome: the Mission that produced the pinned version. Refused (MARKETPLACE_NOT_ELIGIBLE, mission_outcome) unless that Mission was started from a template and judged this version PASS. The listing then shows the template beside the D6 badge. Read by publishListing only; republishListing keeps the listing's Mission while the pin is unchanged and drops it when the pin moves.
Member Of
publishListing mutation ● republishListing mutation