# deprecated fields with x-deprecated-description

`GET /deprecated`

Tags: `deprecated`

> **Deprecated.** This endpoint is deprecated and will be removed in version 2.0. Please use the /new-endpoint instead.

Schema:
```yaml
type: object
properties:
  id:
    type: string
    description: Resource identifier
  legacyField:
    type: string
    deprecated: true
    x-deprecated-description: |
      This field is deprecated. Use 'newField' instead.
  newField:
    type: string
    description: |
      Replacement for legacyField
  status:
    type: string
    enum:
      - active
      - inactive
      - deprecated
    description: |
      Resource status
  metadata:
    type: object
    deprecated: true
    x-deprecated-description: |
      Metadata object is deprecated and will be removed in v2.0
    properties:
      tags:
        type: array
        items:
          type: string
required:
  - id
```

## Responses

### 200

Successful response

#### Content type: `application/json`

Schema: `object`

- `id` (string, required)
  Resource identifier
- `legacyField` (string, deprecated)
- `newField` (string)
  Updated field that replaces legacyField
- `status` (string, required, possible values: `active`, `inactive`, `deprecated`)
  Resource status
- `oldMetadata` (object, deprecated)
  - `oldMetadata.version` (string, deprecated)
  - `oldMetadata.tags` (string[])
- `attributes` (object)
  New attributes object replacing oldMetadata
  - `attributes.category` (string)
  - `attributes.labels` (string[])
