Penpot Update Project Pin API

The Update Project Pin API from Penpot — 1 operation(s) for update project pin.

OpenAPI Specification

penpot-update-project-pin-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  version: '2.16'
  title: Penpot RPC Add Team To Organization Update Project Pin API
  description: Penpot RPC-style REST API for projects, files, pages, components, and design assets.
  x-api-id: penpot-rpc
  contact:
    url: https://community.penpot.app/
    name: Penpot Support
  x-humanURL: https://penpot.app/integrations-api
servers:
- url: https://design.penpot.app/api/main/methods
  description: MAIN API
tags:
- name: Update Project Pin
paths:
  update-project-pin:
    post:
      description: null
      deprecated: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              title: update-project-pin
              type: object
              properties:
                teamId:
                  $ref: '#/components/schemas/Uuid'
                isPinned:
                  $ref: '#/components/schemas/Boolean'
                id:
                  $ref: '#/components/schemas/Uuid'
              required:
              - teamId
              - isPinned
              - id
            example: '{"teamId":"5ab5eb30-5b3a-81d5-8008-2a395c761cec","isPinned":true,"id":"5ab5eb30-5b3a-81d5-8008-2a395c761ced"}'
      tags:
      - Update Project Pin
components:
  schemas:
    Boolean:
      title: boolean
      description: boolean
      type: boolean
    Uuid:
      title: uuid
      description: UUID formatted string
      type: string
      format: uuid