---
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` string
  - `title` string
  - `tag` string
  - `current_version` string
  - `native_minecraft_version` string, nullable
  - `supported_minecraft_versions` string[]
  - `icon_link` string
  - `author` object
    - `id` string
    - `username` string
  - `premium` object
    - `price` string
    - `currency` string
  - `stats` object
    - `downloads` string
    - `updates` string
    - `reviews` object
      - `unique` string
      - `total` string
    - `rating` string
  - `description` string

## Changes

- **2022-11-05** `19266ac7ec1f` — 8 breaking, 6 warning, 1 info
  - the `author/id` response's property type changed from `integer` to `string` for status `200`
  - the `icon_link` response's property format changed from `uri` to no format for status `200`
  - the `id` response's property type changed from `integer` to `string` for status `200`
  - the `stats/downloads` response's property type changed from `integer` to `string` for status `200`
  - …11 more

[Change 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/8aedf4b33b09?raw)
