Dokumentation / Profile / Endpunkt
PUT

/api/v1/profile-views/{id}

Gespeicherte Profilansicht mit Versionsprüfung sichern

Anfrage#

POSIX-Shell · curl
curl --fail-with-body --request PUT \
  "$ADBR_API_URL/api/v1/profile-views/{id}" \
  -H "Authorization: Bearer $ADBR_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data @request.json

Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs. Erstelle request.json anhand des folgenden Körperschemas, bevor du den Befehl ausführst.

Authentifizierung und Rechte#

Authentifizierung: Bearer-Token

Scopes: profiles:write

Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Kontorechte, Anfrageinhalt, Tresorzustand und Ressourcenrechte können weitere Voraussetzungen setzen.

Parameter#

ParameterOrtPflichtBeschreibung
idpathJa
Vollständige Parameterschemas
OpenAPI JSON
[
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "in": "path",
    "name": "id",
    "required": true
  }
]

Anfragekörper#

Erforderlich.

FeldTypPflichtBeschreibung
namestringJa
queryobjectJa
revisionintegerJa
Vollständiges Körperschema
OpenAPI JSON
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "name",
          "query",
          "revision"
        ],
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "query": {
            "type": "object",
            "properties": {
              "include_pending_rpa": {
                "type": "boolean"
              },
              "search": {
                "type": "string",
                "maxLength": 200
              },
              "ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "maxItems": 1000,
                "uniqueItems": true
              },
              "group_id": {
                "type": "string",
                "maxLength": 64
              },
              "tag_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "maxItems": 1000,
                "uniqueItems": true
              },
              "tag_mode": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "any"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "all"
                    ]
                  }
                ]
              },
              "exclude_tag_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "maxItems": 1000,
                "uniqueItems": true
              },
              "status_id": {
                "type": "string",
                "maxLength": 64
              },
              "engine": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "chromium"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "firefox"
                    ]
                  }
                ]
              },
              "os": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "windows"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "macos"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "linux"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "android"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "ios"
                    ]
                  }
                ]
              },
              "runtime_state": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "stopped"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "starting"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "running"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "stopping"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "crashed"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "locked"
                    ]
                  }
                ]
              },
              "pinned": {
                "type": "boolean"
              },
              "proxy_id": {
                "type": "string",
                "maxLength": 64
              },
              "sort": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "no"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "display_no"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "custom_no"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "name"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "created_at"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "updated_at"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "last_opened_at"
                    ]
                  }
                ]
              },
              "order": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "asc"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "desc"
                    ]
                  }
                ]
              },
              "pinned_first": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "revision": {
            "type": "integer",
            "minimum": 0
          }
        }
      }
    }
  }
}

Antworten#

200 · Standardantwort
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "id",
          "revision",
          "updated_at",
          "value"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "revision": {
            "type": "integer"
          },
          "updated_at": {
            "type": "number"
          },
          "value": {
            "type": "object",
            "required": [
              "id",
              "name",
              "query",
              "created_at",
              "updated_at"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "query": {
                "type": "object",
                "properties": {
                  "include_pending_rpa": {
                    "type": "boolean"
                  },
                  "search": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "ids": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "maxItems": 1000,
                    "uniqueItems": true
                  },
                  "group_id": {
                    "type": "string",
                    "maxLength": 64
                  },
                  "tag_ids": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "maxItems": 1000,
                    "uniqueItems": true
                  },
                  "tag_mode": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "any"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "all"
                        ]
                      }
                    ]
                  },
                  "exclude_tag_ids": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "maxItems": 1000,
                    "uniqueItems": true
                  },
                  "status_id": {
                    "type": "string",
                    "maxLength": 64
                  },
                  "engine": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "chromium"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "firefox"
                        ]
                      }
                    ]
                  },
                  "os": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "windows"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "macos"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "linux"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "android"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "ios"
                        ]
                      }
                    ]
                  },
                  "runtime_state": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "stopped"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "starting"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "running"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "stopping"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "crashed"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "locked"
                        ]
                      }
                    ]
                  },
                  "pinned": {
                    "type": "boolean"
                  },
                  "proxy_id": {
                    "type": "string",
                    "maxLength": 64
                  },
                  "sort": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "no"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "display_no"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "custom_no"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "name"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "created_at"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "updated_at"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "last_opened_at"
                        ]
                      }
                    ]
                  },
                  "order": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "asc"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "desc"
                        ]
                      }
                    ]
                  },
                  "pinned_first": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "created_at": {
                "type": "number"
              },
              "updated_at": {
                "type": "number"
              }
            }
          }
        }
      }
    }
  }
}
default · HTTP-Fehlerhülle. Status und error.code bezeichnen den Fehler.
OpenAPI JSON
{
  "description": "HTTP error envelope. The status and error.code identify the failure.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

Allgemeine Authentifizierungs- und Transportfehler können zusätzlich zu den dokumentierten Antworten auftreten.

OpenAPI-Definition#

Vollständige Operationsdefinition
OpenAPI JSON
{
  "summary": "Gespeicherte Profilansicht mit Versionsprüfung sichern",
  "tags": [
    "Profile"
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "required": [
            "name",
            "query",
            "revision"
          ],
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            },
            "query": {
              "type": "object",
              "properties": {
                "include_pending_rpa": {
                  "type": "boolean"
                },
                "search": {
                  "type": "string",
                  "maxLength": 200
                },
                "ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "maxItems": 1000,
                  "uniqueItems": true
                },
                "group_id": {
                  "type": "string",
                  "maxLength": 64
                },
                "tag_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "maxItems": 1000,
                  "uniqueItems": true
                },
                "tag_mode": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "any"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "all"
                      ]
                    }
                  ]
                },
                "exclude_tag_ids": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "maxItems": 1000,
                  "uniqueItems": true
                },
                "status_id": {
                  "type": "string",
                  "maxLength": 64
                },
                "engine": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "chromium"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "firefox"
                      ]
                    }
                  ]
                },
                "os": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "windows"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "macos"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "linux"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "android"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "ios"
                      ]
                    }
                  ]
                },
                "runtime_state": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "stopped"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "starting"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "running"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "stopping"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "crashed"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "locked"
                      ]
                    }
                  ]
                },
                "pinned": {
                  "type": "boolean"
                },
                "proxy_id": {
                  "type": "string",
                  "maxLength": 64
                },
                "sort": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "no"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "display_no"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "custom_no"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "name"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "created_at"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "updated_at"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "last_opened_at"
                      ]
                    }
                  ]
                },
                "order": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "asc"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "desc"
                      ]
                    }
                  ]
                },
                "pinned_first": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            },
            "revision": {
              "type": "integer",
              "minimum": 0
            }
          }
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      },
      "in": "path",
      "name": "id",
      "required": true
    }
  ],
  "x-required-scopes": [
    "profiles:write"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id",
              "revision",
              "updated_at",
              "value"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "revision": {
                "type": "integer"
              },
              "updated_at": {
                "type": "number"
              },
              "value": {
                "type": "object",
                "required": [
                  "id",
                  "name",
                  "query",
                  "created_at",
                  "updated_at"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "query": {
                    "type": "object",
                    "properties": {
                      "include_pending_rpa": {
                        "type": "boolean"
                      },
                      "search": {
                        "type": "string",
                        "maxLength": 200
                      },
                      "ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "maxItems": 1000,
                        "uniqueItems": true
                      },
                      "group_id": {
                        "type": "string",
                        "maxLength": 64
                      },
                      "tag_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "maxItems": 1000,
                        "uniqueItems": true
                      },
                      "tag_mode": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "any"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "all"
                            ]
                          }
                        ]
                      },
                      "exclude_tag_ids": {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "maxItems": 1000,
                        "uniqueItems": true
                      },
                      "status_id": {
                        "type": "string",
                        "maxLength": 64
                      },
                      "engine": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "chromium"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "firefox"
                            ]
                          }
                        ]
                      },
                      "os": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "windows"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "macos"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "linux"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "android"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "ios"
                            ]
                          }
                        ]
                      },
                      "runtime_state": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "stopped"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "starting"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "running"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "stopping"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "crashed"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "locked"
                            ]
                          }
                        ]
                      },
                      "pinned": {
                        "type": "boolean"
                      },
                      "proxy_id": {
                        "type": "string",
                        "maxLength": 64
                      },
                      "sort": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "no"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "display_no"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "custom_no"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "name"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "created_at"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "updated_at"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "last_opened_at"
                            ]
                          }
                        ]
                      },
                      "order": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "asc"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "desc"
                            ]
                          }
                        ]
                      },
                      "pinned_first": {
                        "type": "boolean"
                      }
                    },
                    "additionalProperties": false
                  },
                  "created_at": {
                    "type": "number"
                  },
                  "updated_at": {
                    "type": "number"
                  }
                }
              }
            }
          }
        }
      }
    },
    "default": {
      "description": "HTTP error envelope. The status and error.code identify the failure.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}

Suche nach Headless, MCP, Cookies oder einem API-Endpunkt.

↑ ↓ NavigierenEnter ÖffnenEsc Schließen