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

# Review the exact selection and linked items required for a move



## OpenAPI

````yaml /openapi.yaml post /projects/{project_id}/project_items/preview_move
openapi: 3.0.1
info:
  title: GetSpecs REST API
  description: REST API documentation for GetSpecs.
  version: 1.0.0
servers:
  - url: /v1
  - url: https://demo-api.getspecs.io/v1
security: []
paths:
  /projects/{project_id}/project_items/preview_move:
    post:
      tags:
        - ProjectItem
      summary: Review the exact selection and linked items required for a move
      operationId: project_items#preview_move
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/requestBodyProjectItemPreviewMove'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/project_item_move_preview'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error'
      security:
        - apiKey: []
          workspaceId: []
components:
  schemas:
    requestBodyProjectItemPreviewMove:
      type: object
      required:
        - ids
        - package_id
        - package_section_id
      properties:
        ids:
          type: array
          minItems: 1
          maxItems: 500
          items:
            type: integer
        package_id:
          type: integer
          description: Draft destination package in the project.
        package_section_id:
          type: integer
          description: Existing section of the destination package.
    project_item_move_preview:
      type: object
      required:
        - scope_token
        - selected_ids
        - item_ids
        - destination
        - items
      properties:
        scope_token:
          type: string
        selected_ids:
          type: array
          items:
            type: integer
        item_ids:
          type: array
          items:
            type: integer
        destination:
          type: object
          required:
            - package_id
            - package_name
            - package_section_id
            - package_section_name
          properties:
            package_id:
              type: integer
            package_name:
              type: string
            package_section_id:
              type: integer
            package_section_name:
              type: string
        items:
          type: array
          items:
            type: object
            required:
              - id
              - identifier
              - package_id
              - package_name
              - package_section_id
              - package_section_name
              - selected
            properties:
              id:
                type: integer
              identifier:
                type: string
              package_id:
                type: integer
              package_name:
                type: string
              package_section_id:
                type: integer
              package_section_name:
                type: string
              selected:
                type: boolean
    error:
      type: object
      properties:
        error:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                nullable: true
              code:
                type: string
                nullable: true
              message:
                type: string
            required:
              - message
  securitySchemes:
    apiKey:
      type: apiKey
      name: authorization
      in: header
    workspaceId:
      type: apiKey
      name: X-Workspace-ID
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.