v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1371119.6 KB
organizations

Creates a publication.

post/v1/{+parent}/publications

Path parameters

parentstring required

Required. The parent resource where this publication will be created. Format: organizations/{organization}.

Query parameters

publicationIdstring

Optional. The unique identifier of the publication to create. If not specified, the server will generate a random publication ID.

Request body

namestring

Identifier. The resource name of the publication. Format: organizations/{organization}/publications/{publication}

organizationIdstring

Output only. The unique identifier of the organization that owns this publication.

productsstring[]

Output only. The list of active products/features enabled for this publication.

languageCodestring

Required. The primary language of the publication (BCP-47 code, e.g., "en-US").

publicationTosUrlstring

Optional. The URL to the publisher's own Terms of Service.

publicationPrivacyPolicyUrlstring

Optional. The URL to the publisher's Privacy Policy.

publicationIdstring

Output only. The unique identifier of the publication.

regionCodestring

Required. The ISO 3166-1 alpha-2 region code where the publication is registered (e.g., "US").

paymentOption'PAYMENT_OPTION_UNSPECIFIED' | 'NONE' | 'SUBSCRIPTIONS' | 'CONTRIBUTIONS'

Output only. The configured payment option.

onboardingState'ONBOARDING_STATE_UNSPECIFIED' | 'ACTION_REQUIRED' | 'PENDING_VERIFICATION' | 'COMPLETE'

Output only. The current onboarding state.

displayNamestring

Required. The user-visible display name of the publication.

Response

Successful response