Resource versions

Create a new version of a resource

Changed on

Create a new version of a resource.

post/resource-versions/

Request

Request body application/x-www-form-urlencoded

resource_idinteger required
version_stringstring
version_typestring

Type of version download: local or external. Defaults based on current resource type.

version_attachment_keystring

API attachment key for local download files. Required if version_type is local.

external_download_urlstring

Required if version_type is external

currencystring

For externally purchasable resources

external_purchase_urlstring

For externally purchasable resources

Response

OK

successboolean

Changes

    • breaking

      request body became required

    • breaking

      removed the media type application/json from the request body

    • breaking

      the response's property type changed from string to boolean for status

    • warning

      removed the request property

    • warning

      removed the optional property / from the response with the status

    • info

      api operation id post_resource_versions_ removed and replaced with postResourceVersions

    • info

      the endpoint scheme security XF-Api-Key was added to the API

    • info

      the endpoint scheme security XF-OAuth2 was added to the API

    • info

      added the new optional header request parameter XF-Api-User to all path's operations

    • info

      added the new optional query request parameter api_bypass_permissions to all path's operations

    • info

      api tag Resource versions added

    • info

      api tag resource-versions removed

    • info

      added optional request body

    • info

      added the media type application/json for the response with the status