๐Ÿ”ฅ
Exploratory Data Analysis (EDA)
WebsiteGithub
  • ๐Ÿ‘‹Welcome!
  • Course Content
    • 1. Introduction
      • EDA: Uncovering Insights and Patterns
      • Why EDA?
      • Importance of EDA
      • The role of EDA in the data analysis process
      • A Comprehensive Examination
      • Code & Practice
      • Basic Concept
    • 2. Fundamentals
      • Lifecycle
        • Data Science
        • EDA
    • 3. Dataset Selection and Understanding
      • Kaggle
      • Github
    • 4. Data Cleaning and Preprocessing
    • 5. Techniques and Approaches
      • Types of EDA
    • 6. Data Visualization
    • 7. Statistical Measures and Hypothesis Testing
    • 9. Case Studies
    • 11. Best Practices and Tips for Effective EDA
    • 12. Future Trends and Emerging Technologies
  • Dataset
    • โ„น๏ธKaggle
  • Tools and Software
    • โœจData Analysis Tools
    • ๐ŸPython Library
      • ๐ŸผPandas
      • ๐ŸงŠNumpy
      • ๐Ÿ“ŠMatplotlib
      • ๐Ÿ“ˆSeaborn
      • ๐Ÿ“ถPlotly
      • ๐ŸคนSciPy
      • ๐Ÿ’ซStatsmodels
      • ๐Ÿ‘‚Scikit-learn
      • ๐Ÿ—ณ๏ธYellowbrick
    • โ›๏ธPython tools
    • ยฎ๏ธยฎ ยฎ ยฎ The R Project
    • ๐ŸŒ€Data Exploration
    • ๐ŸŽฏData Quality
    • ๐Ÿ“”Data Profiling
    • ๐Ÿ“บVisualization
  • Tech Exploration
    • ๐ŸŽฌYoutube
    • โ˜๏ธGithub
    • ๐Ÿ”ฌLab
    • ๐Ÿ’ผCase Study
  • Reference
    • API Reference
      • Pets
      • Users
      • Quick Start
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Pets

Creating a new pet

Create pet.

POST https://api.myapi.com/v1/pet

Creates a new pet.

Request Body

Name
Type
Description

name*

string

The name of the pet

owner_id

string

The id of the user who owns the pet

species

string

The species of the pet

breed

string

The breed of the pet

{
    "name"="Wilson",
    "owner": {
        "id": "sha7891bikojbkreuy",
        "name": "Samuel Passet",
    "species": "Dog",}
    "breed": "Golden Retriever",
}

Good to know: This API method was created using the API Method block, it's how you can build out an API method documentation from scratch. Have a play with the block and you'll see you can do some nifty things like add and reorder parameters, document responses, and give your methods detailed descriptions.

Updating a pet

Good to know: This API method was auto-generated from an example Swagger file. You'll see that it's not editable โ€“ that's because the contents are synced to a URL! Any time the linked file changes, the documentation will change too.

PreviousAPI ReferenceNextUsers

Last updated 1 year ago

  • Creating a new pet
  • Create pet.
  • Updating a pet
  • PUTUpdate an existing pet

Update an existing pet

put
Authorizations
Body
idinteger ยท int64Optional
namestringRequiredExample: doggie
photoUrlsstring[]Required
statusstring ยท enumOptional

pet status in the store

Possible values:
Responses
400
Invalid ID supplied
404
Pet not found
405
Validation exception
put
PUT /v2/pet HTTP/1.1
Host: petstore.swagger.io
Content-Type: application/json
Accept: */*
Content-Length: 132

{
  "id": 1,
  "category": {
    "id": 1,
    "name": "text"
  },
  "name": "doggie",
  "photoUrls": [
    "text"
  ],
  "tags": [
    {
      "id": 1,
      "name": "text"
    }
  ],
  "status": "available"
}

No content