API: How do I change release dates?

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

PepiMK

Guest
offline
Again, based on the unfinished documentation, I tried to write code to fix broken release dates.

What am I doing wrong, which endpoint do I need to use to change a resource version?

PHP:

Code:
    protected function update_xenforo_resource_version_date(string $version_id, string $resource_id, int $newdate, string $download_url): mixed
    {
        $aHeaders = ['Content-Type: application/x-www-form-urlencoded', 'XF-Api-Key: ' . $this->XenForoAPIKey];
        $aFields = array(...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom