Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
/ swagger Public archive
forked from PureStorage-OpenConnect/swagger

This is a tool that provides the Pure FlashArray and FlashBlade API documentation into the popular interactive Swagger UI. This lets you browse the API documentation in a convienent format and even execute API calls interactively directly to a FlashArray or FlashBlade!

License

Notifications You must be signed in to change notification settings

418sec/swagger

 
 

Repository files navigation

Pure Swagger

This is a tool that provides the Pure Storage FlashArray and FlashBlade API documentation into the popular interactive Swagger UI. This lets you browse the API documentation in a convenient format and even execute API calls interactively directly to a FlashArray or FlashBlade!

Try It:

Requires docker to be installed

docker run -it --rm -p 80:5000 quay.io/purestorage/swagger

Then open your browser to http://127.0.0.1 Then select an API spec and enter your FlashArray or FlashBlade IP.

To stop run:

just ctrl^c on the console docker container

Update to the latest version

docker pull quay.io/purestorage/swagger

Authentication Examples Videos

FlashBlade 1.x API Token

Flash Blade 1.x Token Auth

FlashArray 1.x API Token

Flash Array 1.x Token Auth

FlashArray 2.2+ API Token

Flash Array 2.x Token Auth

FlashArray 2.0+ OAuth2 API Client Auth

Flash Array 2.x OAuth2

Screenshots

Documentation in collapsable easy to read format

docs

See detailed paramater information

array_details

See body param documentation

array_details

Every Endpoint is documented !

array_details

Actually send API commands to an Array:

array_details

Start a session:

array_details

Get Controller Info:

array_details

Notes:

In order to send API calls to an array you must

  1. Have a FlashArray or FlashBlade and login credentials

About

This is a tool that provides the Pure FlashArray and FlashBlade API documentation into the popular interactive Swagger UI. This lets you browse the API documentation in a convienent format and even execute API calls interactively directly to a FlashArray or FlashBlade!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.2%
  • HTML 8.3%
  • Dockerfile 2.4%
  • Shell 1.1%