1. 企业信息
BrazilScope Docs
  • Overview
  • 开发指南
    • 快速开始
    • 更新日志
  • 企业信息
    • 企业搜索
      GET
    • 更新宠物
      PUT
    • 删除宠物
      DELETE
    • 创建宠物
      POST
    • 列出宠物
      GET
    • 上传宠物图片
      POST
  1. 企业信息

列出宠物

GET
/pets
可用逗号分隔字符串提供多个状态值。

请求参数

Authorization
OAuth 2.0
Implicit
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Authorize URL: https://petstore.swagger.io/oauth/authorize
Scopes:
read:pets-read your pets
write:pets-modify pets in your account
or
Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://brazilscope.org/pets?status=available%2Cpending&tags=dog%2Cfish'

返回响应

🟢200OK
application/json
操作成功
Bodyapplication/json

示例
[
    {
        "id": 15,
        "category": {
            "id": 21,
            "name": "Marcella Weissnat"
        },
        "name": "doggie",
        "photoUrls": [
            "https://loremflickr.com/400/400?lock=3918785348234384",
            "https://loremflickr.com/400/400?lock=6202587563304484"
        ],
        "tags": [
            {
                "id": 47,
                "name": "Celia Breitenberg"
            }
        ],
        "status": "available"
    },
    {
        "id": 71,
        "category": {
            "id": 46,
            "name": "Amber Boyer"
        },
        "name": "doggie",
        "photoUrls": [
            "https://loremflickr.com/400/400?lock=2842023516272171"
        ],
        "tags": [
            {
                "id": 11,
                "name": "Dr. Victoria Zieme"
            }
        ],
        "status": "pending"
    },
    {
        "id": 40,
        "category": {
            "id": 61,
            "name": "Sheryl Boyer"
        },
        "name": "doggie",
        "photoUrls": [
            "https://loremflickr.com/400/400?lock=5750598354305884",
            "https://loremflickr.com/400/400?lock=2063547589454977"
        ],
        "tags": [
            {
                "id": 78,
                "name": "Gene Deckow-Lynch"
            }
        ],
        "status": "available"
    }
]
修改于 2026-10-06 13:44:00
上一页
创建宠物
下一页
上传宠物图片
Built with