Resources


Get the current version of the resource

GET /resources/{slug}/versions/latest

Parameters


slug string
Project identifier link - specified when creating a resource.

Response


200
supported_minecraft_platforms

array of numbers


Apisection.fields.descriptions.supported-minecraft-platforms.

maximum_supported_minecraft_version*

string


The maximum version of minecraft from the range that the version of the resource supports. Absent if the version supports one specific version of minecraft.

minimum_supported_minecraft_version

string


The minimum (out of range) or specific version of minecraft that the version of the resource supports.

created_at

string


Date of creation of the version in the format ISO-8601.

updated_at*

string


Date of last version update in the format ISO-8601. Absent if the version has never been updated.

title

string


Version description title.

content

string


Version description in Markdown format.

version*

string


Number or any other version identifier. Absent if the resource type does not support versioning.

id

integer


Unique version identifier.

resource_id

integer


Unique resource identifier of the version.

downloads

integer


Number of version downloads.

Response example:

{
  "supported_minecraft_platforms": "[1, 2, 3, 4]",
  "maximum_supported_minecraft_version": "1.19.3",
  "minimum_supported_minecraft_version": "1.8",
  "created_at": "2022-12-04T17:17:40.835473",
  "updated_at": "2023-01-02T13:58:21.345628",
  "title": "XItemsRemover",
  "content": "Hotfix.",
  "version": "v.1.1.5",
  "id": 4,
  "resource_id": 5,
  "downloads": 49
}

404

Returned in the following cases:

  • Resource is missing versions.
  • Resource not found.
  • Insufficient rights to get resource version.