Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Get Feed Storage

view on GitHub

Get Feed Storage is available as both a pgutil command and an HTTP Request, and will return a FeedStorageConfiguration object, or properties for the specified feed's storage.

Command Specification (CLI)

The feeds storage info command is used to get storage properties of the specified feed.

The --feed option is always required.

Getting a feed's storage properties requires the feed name (e.g. myNugetFeed):

pgutil feeds storage info --feed=myNugetFeed

Example output:

Type: disk
StoragePath: <default>

HTTP Request Specification

To return a specified feed's storage properties, simply GET to the URL with the name of the feed and an appropriate API Key.

GET /api/storage?feed=«feed-name»

HTTP Response Specification

A successful (200) response body will contain a single FeedStorageConfiguration object. For example, to requesting storage properties a feed with the name myNugetFeed, the request would return:

GET /api/storage?feed=myNugetFeed

{
  "id": "disk",
  "properties": {
    "StoragePath": null
  }
}
Response Details
200 (Success) body will contain a FeedStorageConfiguration object
400 (Invalid Input) indicates invalid or missing properties in the request; the body will provide some details as text
403 (Unauthorized API Key) indicates a missing, unknown, or unauthorized API Key; the body will be empty
404 (Feed Not Found) indicates that the specified feed does not exist