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

# Download a packed lighting system to a file with the specified name or as json string.

> <br>If the <b>Accept</b> header is set to "application/octet-stream" the request result will be a *.lightingsystemx file.
<br>
  ```curl -X GET "http://localhost:5006/avx-lightingsystem/v1/lightingsystems/a91c4485-3019-4a14-b3ea-3af17654f8e6/packed?fileName=test" -H  "accept: application/octet-stream"```

<br>If the <b>Accept</b> header is set to "application/json" the request result will be a json string.
<br>
  ```curl -X GET "http://localhost:5006/avx-lightingsystem/v1/lightingsystems/a91c4485-3019-4a14-b3ea-3af17654f8e6/packed" -H  "accept: application/json"```




## OpenAPI

````yaml docs/avxcelerate/lighting-systems-rest-api/Lighting_Systems_v1_261.json GET /avx-lightingsystem/v1/lightingsystems/{lightingSystemIdentifier}/packed
openapi: 3.0.1
info:
  title: Lighting Systems
  description: >-
    The Lighting Systems REST API allows you to create, update and manage
    advanced Lighting Systems.
  version: v1
servers: []
security: []
paths:
  /avx-lightingsystem/v1/lightingsystems/{lightingSystemIdentifier}/packed:
    get:
      tags:
        - Lighting systems
      summary: >-
        Download a packed lighting system to a file with the specified name or
        as json string.
      description: "<br>If the <b>Accept</b> header is set to \"application/octet-stream\" the request result will be a *.lightingsystemx file.\r\n<br>\r\n  ```curl -X GET \"http://localhost:5006/avx-lightingsystem/v1/lightingsystems/a91c4485-3019-4a14-b3ea-3af17654f8e6/packed?fileName=test\" -H  \"accept: application/octet-stream\"```\r\n\r\n<br>If the <b>Accept</b> header is set to \"application/json\" the request result will be a json string.\r\n<br>\r\n  ```curl -X GET \"http://localhost:5006/avx-lightingsystem/v1/lightingsystems/a91c4485-3019-4a14-b3ea-3af17654f8e6/packed\" -H  \"accept: application/json\"```\r\n"
      parameters:
        - name: lightingSystemIdentifier
          in: path
          description: Identifier of the lighting system in the library.
          required: true
          schema:
            type: string
            format: uuid
        - name: fileName
          in: query
          description: Desired name for the packed lighting system file.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
        '404':
          description: Not Found
          content:
            application/octet-stream:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        default:
          description: Error
          content:
            application/octet-stream:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
components:
  schemas:
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}

````