1Password API
  1. Health
1Password API
  • auth
    • Performs introspection of the provided Bearer JWT token
      GET
  • api-v1
    • Retrieves item usages
      POST
    • Retrieves sign-in attempts
      POST
  • Activity
    • Retrieve a list of API Requests that have been made.
      GET
  • Vaults
    • Get all Vaults
      GET
    • Get Vault details and metadata
      GET
  • Items
    • Get all items for inside a Vault
      GET
    • Create a new Item
      POST
    • Get the details of an Item
      GET
    • Update an Item
      PUT
    • Delete an Item
      DELETE
    • Update a subset of Item attributes
      PATCH
  • Files
    • Get all the files inside an Item
      GET
    • Get the content of a File
      GET
    • Get the details of a File
      GET
  • Health
    • Ping the server for liveness
      GET
    • Get state of the server and its dependencies.
      GET
  • Metrics
    • Query server for exposed Prometheus metrics
      GET
  1. Health

Get state of the server and its dependencies.

GET
/health
Health
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://localhost:8080/v1/health'
响应示例响应示例
{
  "name": "1Password Connect API",
  "version": "1.2.1",
  "dependencies": [
    {
      "service": "sync",
      "status": "TOKEN_NEEDED"
    },
    {
      "service": "sqlite",
      "status": "ACTIVE",
      "message": "Connected to./1password.sqlite"
    }
  ]
}

请求参数

无

返回响应

🟢200成功
application/json
OK
Body
name
string 
必需
version
string 
必需
The Connect server's version
dependencies
array[object (ServiceDependency) {3}] 
可选
service
string 
可选
status
string 
可选
message
string 
可选
Human-readable message for explaining the current state.

【1Password】API开发者 微信交流群

用微信扫右侧二维码,加入【1Password】API开发者 交流群,互助沟通

扫码加入交流群
上一页
Ping the server for liveness
下一页
Query server for exposed Prometheus metrics
Built with