RSS Feed/News API: How do I properly create versions with correct release date?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,584
Points
823

Reputation:

The documentation is a bit unfinished here, but I was able to post new releases.

What doesn't work those is the release_date. The field is the same returned when reading released, and is the one in the documentation.

How do I set the release date from the API when creating a new release version?

PHP:

Code:
    protected function create_xenforo_resource_version(string $resource_id, string $version, int $release_date, string $download_url): mixed
    {
        $aHeaders = ['Content-Type...

Read more

Continue reading...
 
Status
Not open for further replies.
Top