> ## Documentation Index
> Fetch the complete documentation index at: https://flashrdp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Resource Pack

> Retrieves all options associated with a resource pack. Use this method to retrieve the createId's required to create a server.



## OpenAPI

````yaml /api/control-panel/resource-pack.json get /resourcePack/{resourcePackId}
openapi: 3.0.1
info:
  title: API Documentation
  description: >-
    ## Overview


    This API allows you to manage your account and servers programmatically.
    Account management features are available to all authenticated users, while
    server management operations are restricted to server owners. Only users who
    own a server can perform actions such as creating, or managing through the
    API.


    ### Authentication


    The API uses **Bearer Token authorization** for all authenticated requests.


    To access protected endpoints, include your API token in the `Authorization`
    header of each request:


    ```

    Authorization: Bearer <your_api_token>

    ```


    If the token is missing, invalid, or expired, the API will respond with:

    ```

    HTTP 401 Unauthorized

    ```


    Tokens are issued through your account and must be kept secure.


    ### Data Format


    The API uses **JSON** for all requests and responses. All requests should be
    sent with the following headers:


    ```

    Content-Type: application/json

    Accept: application/json

    ```


    ### Rate Limiting


    The API is rate limited to prevent excessive requests and ensure fair usage.
    Limits may be increased on request. Each response includes rate limit
    headers that indicate your current usage:

    | Header | Description |

    | ------- | ------------ |

    | **X-RateLimit-Limit** | The total number of requests allowed per minute. |

    | **X-RateLimit-Remaining** | The number of requests remaining in the
    current time window. |

    | **X-RateLimit-Reset** | The time when the limit will be reset. |


    When the limit is reached, the API will respond with the following status
    until the limit resets:


    ```

    HTTP 429 Too Many Requests

    ```


    ### Service Availability


    If the API is temporarily unavailable or undergoing maintenance, it will
    return the following status:


    ```

    HTTP 503 Service Unavailable

    ```


    This status indicates a temporary outage and the request should be retried
    later once the service is restored.
  version: 1.0.0
servers:
  - url: https://servers.flashrdp.com/api
security: []
tags:
  - name: Resource Pack
paths:
  /resourcePack/{resourcePackId}:
    get:
      tags:
        - Resource Pack
      summary: Resource Pack
      description: >-
        Retrieves all options associated with a resource pack. Use this method
        to retrieve the createId's required to create a server.
      parameters:
        - name: resourcePackId
          in: path
          description: ''
          required: true
          schema:
            type: integer
        - name: Accept
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
            enum:
              - application/json
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                        options:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                              label:
                                type: string
                              options:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    name:
                                      type: string
                                    options:
                                      type: array
                                      items:
                                        type: object
                                        properties:
                                          usable:
                                            type: boolean
                                          err:
                                            type: array
                                            items:
                                              type: string
                                          name:
                                            type: string
                                          memory:
                                            type: array
                                            items:
                                              type: object
                                              properties:
                                                label:
                                                  type: string
                                                value:
                                                  type: integer
                                          storage:
                                            type: array
                                            items:
                                              type: object
                                              properties:
                                                label:
                                                  type: string
                                                value:
                                                  type: integer
                                          cpuCores:
                                            type: array
                                            items:
                                              type: object
                                              properties:
                                                label:
                                                  type: string
                                                value:
                                                  type: integer
                                          variable:
                                            type: boolean
                                          createId:
                                            type: string
              example:
                data:
                  - name: Simple
                    options:
                      - name: Germany
                        label: Hetzner DC Park Falkenstein
                        options:
                          - name: Simple
                            options:
                              - usable: true
                                err: []
                                name: Create Your Own
                                memory:
                                  - label: 1 GB
                                    value: 30
                                  - label: 3 GB
                                    value: 50
                                  - label: 8 GB
                                    value: 100
                                storage:
                                  - label: 10 GB
                                    value: 10
                                  - label: 20 GB
                                    value: 30
                                  - label: 30 GB
                                    value: 50
                                  - label: 40 GB
                                    value: 70
                                  - label: 50 GB
                                    value: 90
                                  - label: 60 GB
                                    value: 110
                                  - label: 70 GB
                                    value: 130
                                  - label: 80 GB
                                    value: 150
                                cpuCores:
                                  - label: 1 Core
                                    value: 10
                                  - label: 2 Cores
                                    value: 20
                                  - label: 3 Cores
                                    value: 30
                                  - label: 4 Cores
                                    value: 40
                                  - label: 5 Cores
                                    value: 50
                                  - label: 6 Cores
                                    value: 60
                                  - label: 7 Cores
                                    value: 70
                                  - label: 8 Cores
                                    value: 80
                                variable: true
                                createId: 5b342c362c382c362c31325d
          headers: {}
        '401':
          $ref: '#/components/responses/Unauthorized'
          description: ''
        '404':
          $ref: '#/components/responses/NotFound'
          description: ''
        '429':
          $ref: '#/components/responses/TooManyRequests'
          description: ''
      deprecated: false
      security:
        - bearer: []
components:
  responses:
    Unauthorized:
      description: ''
      content: {}
    NotFound:
      description: ''
      content:
        application/json:
          schema:
            type: object
            properties:
              errors:
                type: array
                items:
                  type: string
          examples:
            Example 1:
              summary: Example 1
              value:
                errors:
                  - This is an error returned from the API
                  - This is another error return from the API
    TooManyRequests:
      description: ''
      content: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````