---
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[]
  - `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

## Changes

- **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
- **2025-07-19** `3344ee6e102c` — 2 breaking
  - the `author/id` response's property type changed from `string` to `integer` for status `200`
  - the `id` response's property type changed from `string` to `integer` for status `200`
- **2025-07-19** `4b8fa86b3f4b` — 1 info
  - added the optional property `external_download_url` to the response with the `200` status

[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/929e28a65000?raw)
