- 20 May 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Replication Status API
- Updated on 20 May 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
This API is in development, and will be available in a maintenance release of ProGet 2022, depending on user demand. Let us know if you're interested in this feature.
The Application Management API has Endpoints to query the configuration and status of replications on a ProGet instance.
Security & API Keys
An API Key is not required to query replication status.
However, if an API Key isn't specified, then only the replication status for feeds that that the Anonymous has "Feeds: View Feed" access to will be displayed.
To specify an API Key, use the request header (X-ApiKey
), querystring (key
), orapi:«api-key»
as the username. See API Key Usage to learn more.
Access Type | Requirements |
---|---|
System API Keys | View Connector Health |
Feed API Keys | View/Download |
Personal API Key | associated user must have Feeds: View Feed |
No API Key | anonymous or authenticated user must have Feeds: View Feed |
Endpoint Specification
Returns a JSON array of ReplicationStatus objects, optionally filtered by querystring parameters.
Status Request
Request Type:
GET
orPOST
Request URL:
/api/replication/status
Querystring Parameters:
feed
,type
, andstatus
Request Body: none
Note that:
- An API key must be specified as part of the request
- Querystring parameters may be used to filter results
Status Response
Response | Details |
---|---|
200 (Success) | body will contain an array of ReplicationStatus objects |
400 (Invalid Parameters) | indicates invalid querystring parameters; the body will provide some details as text |
403 (Unauthorized API Key) | indicates a missing, unknown, or unathorized API Key; the body will be empty |
500 (Server Error) | indicates an unexpected error; the body will contain the message and stack trace, and this will also be logged |
Data Specifications
ReplicationStatus Properties
ReplicationStatus
is a set of key/value pairs that contain information about replication configuration and an array of one of more FeedReplication objects.
Property | Format | Notes |
---|---|---|
id | int | Internal ID of Replication Configuration |
Describe properties.
FeedReplication Properties
FeedReplication
is a set of key/value pairs that contain information about the last replication on feeds configured for the replication configuation
Property | Format | Notes |
---|---|---|
id | int | Internal ID of the Feed |
name | string | Name of the feed |
Describe properties.
HOWTO: Query Replication Status (PowerShell)
Show how to query replication status for all feeds. mention how you could filter, but no need to show.
Show input and output of JSON object.