API: How do I properly create versions with correct release date?

Status
This content is read-only, or is not open for further replies.

PepiMK

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom