PostHog · Capability

PostHog API — file_system_shortcut

PostHog API — file_system_shortcut. 14 operations. Lead operation: file_system_shortcut. Self-contained Naftiko capability covering one Posthog business surface.

Run with Naftiko Posthogfile_system_shortcut

What You Can Do

GET
Environmentsfilesystemshortcutlist — environmentsfilesystemshortcutlist
/v1/api/environments/{environment-id}/file-system-shortcut
POST
Environmentsfilesystemshortcutcreate — environmentsfilesystemshortcutcreate
/v1/api/environments/{environment-id}/file-system-shortcut
POST
Environmentsfilesystemshortcutreordercreate — Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.
/v1/api/environments/{environment-id}/file-system-shortcut/reorder
GET
Environmentsfilesystemshortcutretrieve — environmentsfilesystemshortcutretrieve
/v1/api/environments/{environment-id}/file-system-shortcut/{id}
PUT
Environmentsfilesystemshortcutupdate — environmentsfilesystemshortcutupdate
/v1/api/environments/{environment-id}/file-system-shortcut/{id}
PATCH
Environmentsfilesystemshortcutpartialupdate — environmentsfilesystemshortcutpartialupdate
/v1/api/environments/{environment-id}/file-system-shortcut/{id}
DELETE
Environmentsfilesystemshortcutdestroy — environmentsfilesystemshortcutdestroy
/v1/api/environments/{environment-id}/file-system-shortcut/{id}
GET
Filesystemshortcutlist — filesystemshortcutlist
/v1/api/projects/{project-id}/file-system-shortcut
POST
Filesystemshortcutcreate — filesystemshortcutcreate
/v1/api/projects/{project-id}/file-system-shortcut
POST
Filesystemshortcutreordercreate — Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.
/v1/api/projects/{project-id}/file-system-shortcut/reorder
GET
Filesystemshortcutretrieve — filesystemshortcutretrieve
/v1/api/projects/{project-id}/file-system-shortcut/{id}
PUT
Filesystemshortcutupdate — filesystemshortcutupdate
/v1/api/projects/{project-id}/file-system-shortcut/{id}
PATCH
Filesystemshortcutpartialupdate — filesystemshortcutpartialupdate
/v1/api/projects/{project-id}/file-system-shortcut/{id}
DELETE
Filesystemshortcutdestroy — filesystemshortcutdestroy
/v1/api/projects/{project-id}/file-system-shortcut/{id}

MCP Tools

environmentsfilesystemshortcutlist

environmentsfilesystemshortcutlist

read-only idempotent
environmentsfilesystemshortcutcreate

environmentsfilesystemshortcutcreate

set-display-order-current-user-s

Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.

environmentsfilesystemshortcutretrieve

environmentsfilesystemshortcutretrieve

read-only idempotent
environmentsfilesystemshortcutupdate

environmentsfilesystemshortcutupdate

idempotent
environmentsfilesystemshortcutpartialupdate

environmentsfilesystemshortcutpartialupdate

idempotent
environmentsfilesystemshortcutdestroy

environmentsfilesystemshortcutdestroy

idempotent
filesystemshortcutlist

filesystemshortcutlist

read-only idempotent
filesystemshortcutcreate

filesystemshortcutcreate

set-display-order-current-user-s-2

Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order; any unknown IDs are rejected.

filesystemshortcutretrieve

filesystemshortcutretrieve

read-only idempotent
filesystemshortcutupdate

filesystemshortcutupdate

idempotent
filesystemshortcutpartialupdate

filesystemshortcutpartialupdate

idempotent
filesystemshortcutdestroy

filesystemshortcutdestroy

idempotent

Capability Spec

posthog-file-system-shortcut.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PostHog API — file_system_shortcut
  description: 'PostHog API — file_system_shortcut. 14 operations. Lead operation: file_system_shortcut. Self-contained Naftiko
    capability covering one Posthog business surface.'
  tags:
  - Posthog
  - file_system_shortcut
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTHOG_API_KEY: POSTHOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: posthog-file-system-shortcut
    baseUri: ''
    description: PostHog API — file_system_shortcut business capability. Self-contained, no shared references.
    resources:
    - name: api-environments-environment_id-file_system_shortcut
      path: /api/environments/{environment_id}/file_system_shortcut/
      operations:
      - name: environmentsfilesystemshortcutlist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
      - name: environmentsfilesystemshortcutcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-file_system_shortcut-reorder
      path: /api/environments/{environment_id}/file_system_shortcut/reorder/
      operations:
      - name: environmentsfilesystemshortcutreordercreate
        method: POST
        description: Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order;
          any unknown IDs are rejected.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-file_system_shortcut-id
      path: /api/environments/{environment_id}/file_system_shortcut/{id}/
      operations:
      - name: environmentsfilesystemshortcutretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system shortcut.
          required: true
      - name: environmentsfilesystemshortcutupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system shortcut.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsfilesystemshortcutpartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system shortcut.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: environmentsfilesystemshortcutdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system shortcut.
          required: true
    - name: api-projects-project_id-file_system_shortcut
      path: /api/projects/{project_id}/file_system_shortcut/
      operations:
      - name: filesystemshortcutlist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
      - name: filesystemshortcutcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-file_system_shortcut-reorder
      path: /api/projects/{project_id}/file_system_shortcut/reorder/
      operations:
      - name: filesystemshortcutreordercreate
        method: POST
        description: Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order;
          any unknown IDs are rejected.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-projects-project_id-file_system_shortcut-id
      path: /api/projects/{project_id}/file_system_shortcut/{id}/
      operations:
      - name: filesystemshortcutretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system shortcut.
          required: true
      - name: filesystemshortcutupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system shortcut.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: filesystemshortcutpartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system shortcut.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: filesystemshortcutdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system shortcut.
          required: true
    authentication:
      type: bearer
      token: '{{env.POSTHOG_API_KEY}}'
  exposes:
  - type: rest
    namespace: posthog-file-system-shortcut-rest
    port: 8080
    description: REST adapter for PostHog API — file_system_shortcut. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/environments/{environment-id}/file-system-shortcut
      name: api-environments-environment-id-file-system-shortcut
      description: REST surface for api-environments-environment_id-file_system_shortcut.
      operations:
      - method: GET
        name: environmentsfilesystemshortcutlist
        description: environmentsfilesystemshortcutlist
        call: posthog-file-system-shortcut.environmentsfilesystemshortcutlist
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: environmentsfilesystemshortcutcreate
        description: environmentsfilesystemshortcutcreate
        call: posthog-file-system-shortcut.environmentsfilesystemshortcutcreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/environments/{environment-id}/file-system-shortcut/reorder
      name: api-environments-environment-id-file-system-shortcut-reorder
      description: REST surface for api-environments-environment_id-file_system_shortcut-reorder.
      operations:
      - method: POST
        name: environmentsfilesystemshortcutreordercreate
        description: Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order;
          any unknown IDs are rejected.
        call: posthog-file-system-shortcut.environmentsfilesystemshortcutreordercreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/environments/{environment-id}/file-system-shortcut/{id}
      name: api-environments-environment-id-file-system-shortcut-id
      description: REST surface for api-environments-environment_id-file_system_shortcut-id.
      operations:
      - method: GET
        name: environmentsfilesystemshortcutretrieve
        description: environmentsfilesystemshortcutretrieve
        call: posthog-file-system-shortcut.environmentsfilesystemshortcutretrieve
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: environmentsfilesystemshortcutupdate
        description: environmentsfilesystemshortcutupdate
        call: posthog-file-system-shortcut.environmentsfilesystemshortcutupdate
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: environmentsfilesystemshortcutpartialupdate
        description: environmentsfilesystemshortcutpartialupdate
        call: posthog-file-system-shortcut.environmentsfilesystemshortcutpartialupdate
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: environmentsfilesystemshortcutdestroy
        description: environmentsfilesystemshortcutdestroy
        call: posthog-file-system-shortcut.environmentsfilesystemshortcutdestroy
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/projects/{project-id}/file-system-shortcut
      name: api-projects-project-id-file-system-shortcut
      description: REST surface for api-projects-project_id-file_system_shortcut.
      operations:
      - method: GET
        name: filesystemshortcutlist
        description: filesystemshortcutlist
        call: posthog-file-system-shortcut.filesystemshortcutlist
        with:
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: filesystemshortcutcreate
        description: filesystemshortcutcreate
        call: posthog-file-system-shortcut.filesystemshortcutcreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/projects/{project-id}/file-system-shortcut/reorder
      name: api-projects-project-id-file-system-shortcut-reorder
      description: REST surface for api-projects-project_id-file_system_shortcut-reorder.
      operations:
      - method: POST
        name: filesystemshortcutreordercreate
        description: Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order;
          any unknown IDs are rejected.
        call: posthog-file-system-shortcut.filesystemshortcutreordercreate
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/projects/{project-id}/file-system-shortcut/{id}
      name: api-projects-project-id-file-system-shortcut-id
      description: REST surface for api-projects-project_id-file_system_shortcut-id.
      operations:
      - method: GET
        name: filesystemshortcutretrieve
        description: filesystemshortcutretrieve
        call: posthog-file-system-shortcut.filesystemshortcutretrieve
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: filesystemshortcutupdate
        description: filesystemshortcutupdate
        call: posthog-file-system-shortcut.filesystemshortcutupdate
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: filesystemshortcutpartialupdate
        description: filesystemshortcutpartialupdate
        call: posthog-file-system-shortcut.filesystemshortcutpartialupdate
        with:
          id: rest.id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: filesystemshortcutdestroy
        description: filesystemshortcutdestroy
        call: posthog-file-system-shortcut.filesystemshortcutdestroy
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: posthog-file-system-shortcut-mcp
    port: 9090
    transport: http
    description: MCP adapter for PostHog API — file_system_shortcut. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: environmentsfilesystemshortcutlist
      description: environmentsfilesystemshortcutlist
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-file-system-shortcut.environmentsfilesystemshortcutlist
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: environmentsfilesystemshortcutcreate
      description: environmentsfilesystemshortcutcreate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: posthog-file-system-shortcut.environmentsfilesystemshortcutcreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: set-display-order-current-user-s
      description: Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order;
        any unknown IDs are rejected.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: posthog-file-system-shortcut.environmentsfilesystemshortcutreordercreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: environmentsfilesystemshortcutretrieve
      description: environmentsfilesystemshortcutretrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-file-system-shortcut.environmentsfilesystemshortcutretrieve
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: environmentsfilesystemshortcutupdate
      description: environmentsfilesystemshortcutupdate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: posthog-file-system-shortcut.environmentsfilesystemshortcutupdate
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: environmentsfilesystemshortcutpartialupdate
      description: environmentsfilesystemshortcutpartialupdate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: posthog-file-system-shortcut.environmentsfilesystemshortcutpartialupdate
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: environmentsfilesystemshortcutdestroy
      description: environmentsfilesystemshortcutdestroy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: posthog-file-system-shortcut.environmentsfilesystemshortcutdestroy
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: filesystemshortcutlist
      description: filesystemshortcutlist
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-file-system-shortcut.filesystemshortcutlist
      with:
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.
    - name: filesystemshortcutcreate
      description: filesystemshortcutcreate
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: posthog-file-system-shortcut.filesystemshortcutcreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: set-display-order-current-user-s-2
      description: Set the display order of the current user's shortcuts. `ordered_ids` becomes the new top-to-bottom order;
        any unknown IDs are rejected.
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: posthog-file-system-shortcut.filesystemshortcutreordercreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: filesystemshortcutretrieve
      description: filesystemshortcutretrieve
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: posthog-file-system-shortcut.filesystemshortcutretrieve
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: filesystemshortcutupdate
      description: filesystemshortcutupdate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: posthog-file-system-shortcut.filesystemshortcutupdate
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: filesystemshortcutpartialupdate
      description: filesystemshortcutpartialupdate
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: posthog-file-system-shortcut.filesystemshortcutpartialupdate
      with:
        id: tools.id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: filesystemshortcutdestroy
      description: filesystemshortcutdestroy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: posthog-file-system-shortcut.filesystemshortcutdestroy
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.