Update Article Metadata Fields
See the metadata fields for the Update an Article request.
Declaration
object Update Article Metadata FieldsProperties
| Name | Type | Description |
|---|---|---|
revision Required | string | The current revision token for the article. The value of this field must match the latest revision from an earlier Create, Read, or Update Article call. This field prevents multiple users from updating an article simultaneously, which results in data loss. |
accessoryText | string | The text to include below the article excerpt in the channel view, such as a |
isCandidateToBeFeatured | boolean | A Boolean that indicates whether this article should be considered for featuring in Apple News. |
isHidden | boolean | A Boolean that indicates whether the article should be temporarily hidden from display in the News feed. Note that a hidden article is accessible if you have a direct link to the article. |
isPreview | boolean | A Boolean that indicates whether this article should be public (live) or should be a preview that’s only visible to members of your channel. Set If your channel hasn’t yet been approved to publish articles in Apple News Format, setting |
isSponsored | boolean | A Boolean that indicates whether this article consists of sponsored content for promotional purposes. You must mark sponsored content as such; channels that don’t follow this policy may be suspended. When using |
links | ArticleLinksRequest | The section links for the article. |
maturityRating | string | A string that indicates the viewing audience for the content.
By default, the article inherits the value you set for your channel in News Publisher. |
targetTerritoryCountryCodes | [string] | The target country codes required for publishing the updated article. If you don’t specify the If you specify If you specify Country codes must be in ISO 3166-1 alpha-2 code format; for example, If you specify a country code that isn’t not defined in your channel’s territories, the |