---
title: "Obtain a resource"
method: GET
path: "/index.php?action=getResource"
---

# Obtain a resource

`GET /index.php?action=getResource`

## Response `200`

An object containing information about the located resource

- Resource
  - `id` integer
  - `title` string
  - `tag` string
  - `current_version` string
  - `category` ResourceCategory
    - `id` integer
    - `title` string
    - `description` string
  - `native_minecraft_version` string, nullable
  - `supported_minecraft_versions` string[], nullable
  - `icon_link` string, uri
  - `author` object
    - `id` integer
    - `username` string
  - `premium` object
    - `price` string
    - `currency` string
  - `stats` object
    - `downloads` integer
    - `updates` integer
    - `reviews` object
      - `unique` integer
      - `total` integer
    - `rating` number, double
  - `first_release` integer — first release date as timestamp (in seconds)
  - `last_update` integer — last update as timestamp (in seconds)
  - `external_download_url` string, uri
  - `description` string
  - `source_code_url` string, uri
  - `donate_url` string, uri

## Changes

- **2025-10-11** `c82ca180c6da` — 2 info
  - added the optional property `donate_url` to the response with the `200` status
  - added the optional property `source_code_url` to the response with the `200` status
- **2025-09-29** `186d66ff7796` — 1 breaking
  - the response property `supported_minecraft_versions` became nullable for the status `200`
- **2025-07-25** `4139b7779126` — 2 info
  - added the optional property `first_release` to the response with the `200` status
  - added the optional property `last_update` to the response with the `200` status
- **2025-07-25** `7029f37c5d9e` — 1 info
  - added the optional property `category` to the response with the `200` status
- **2025-07-19** `c0935bc8da24` — 5 breaking
  - the `stats/downloads` response's property type changed from `string` to `integer` for status `200`
  - the `stats/rating` response's property type changed from `string` to `number`, and format from no format to `double` for status `200`
  - the `stats/reviews/total` response's property type changed from `string` to `integer` for status `200`
  - the `stats/reviews/unique` response's property type changed from `string` to `integer` for status `200`
  - …1 more

[Full history](https://skmtc.dev/spigotmc/apis/spigotmc-xenforo-resource-manager-api/changes/index.php?action=getResource/get.md)

---

[API](https://skmtc.dev/spigotmc/apis/spigotmc-xenforo-resource-manager-api.md) · [All operations](https://skmtc.dev/spigotmc/apis/spigotmc-xenforo-resource-manager-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spigotmc/apis/spigotmc-xenforo-resource-manager-api/revisions/c82ca180c6da?raw)
