Publish a text post as the pilot
Publishes a text post authored by the pilot of a grant that holds feed.write. visibility is public or connections and defaults to connections, the narrower of the two. 201 for a new post; 200 with replayed true for a retry of the same client_ref and body, which publishes nothing. See the Publishing tag for the client_ref, mentions, the allowance of 3 posts per grant per rolling 24 hours and removals. A grant that is revoked, unknown or another partner’s answers 404 not_found; a grant, or a token, without feed.write is 403 scope_missing.
Authorizations
OAuth 2.0 client credentials. Request a token from the token endpoint of the identity provider's domain (https://{cognito-domain}/oauth2/token, with HTTP Basic client authentication) and send it as a Bearer token. Production uses auth.mypilotindex.com. The sandbox uses the dev environment's Cognito domain, which is given to the partner with its sandbox credential. A token carries only the scopes the partner was approved for.
Path Parameters
Body
Maximum 32768 bytes. Exactly client_ref, content and an optional visibility; unknown or repeated members are rejected.
The partner's own name for this create, unique per partner and kind of publication. Send the same ref to retry.
1 - 64^[A-Za-z0-9._:-]{1,64}$The text, up to 5,000 UTF-16 units after surrounding whitespace is trimmed. No control characters but line breaks and tabs, and no @handle or @all.
1 - 5000Who reads the post; connections unless the partner says otherwise.
public, connections 
