Media API Version 2.2 Build 2.2.18 Release Notes

 

 

 

 

The Media API version 2.2 build 2.2.18 is the default API version.

 

 

 

Fields Removed from NewsML-G2 Item Metadata

  Important

 

When processing data elements and attributes, do not include dependencies on content metadata fields because they are returned only if available and applicable.

 

 

 

Item metadata in the NewsML-G2 format no longer contains the //contentMeta/contentCreated and //contentMeta/contentModified datetime fields that had the same values as the //itemMeta/firstCreated and //itemMeta/versionCreated fields, respectively.

Make sure to use the following datetime fields:

  • The versionCreated field for the date and time in UTC when this version of the content item was published.

  • The firstCreated field for the date and time in UTC when the first version of the content item was created.

Example: The versionCreated and firstCreated fields in NewsML-G2

<itemMeta>

            ...

    <versionCreated>2025-01-16T22:17:26Z</versionCreated>
    <firstCreated>2025-01-16T14:46:02Z</firstCreated>

            ...

</itemMeta>

Metadata Field Added to JSON

The "expires" property has been added to the JSON content item metadata. This field contains the date and time after which the content item is no longer considered valid or publishable by the AP. When available, this field is returned by default in the Search, Feed, On-Demand and Item Metadata responses in the JSON format.

... 

The //itemMeta/expires field has been returned in the NewsML-G2 Item Metadata responses when available:

...

 

 

 

 

 

If you still require additional assistance, please contact AP Customer Support.

For current system status or system maintenance information, please visit the AP Customer Zone website.

 

 

 

 

 

 

 

THE ASSOCIATED PRESS

© copyright 2025  Associated Press. All rights reserved.