GET v1/Delivery/Repositories/{repositoryId}/FirewallRules/{firewallRuleId}

User roles allowed to make this request: DomainAdministrator RepositoryManager

Permissions required to make this request: Repository.Read

Returns the firewall rule for the requested repository based on the given identifier.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

The repository id.

integer

Required

firewallRuleId

The firewall rule id.

integer

Required

Body Parameters

None.

Response Information

Resource Description

The firewall rule associated with the requested id.

Response Message

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "StartIpAddress": "sample string 3",
  "EndIpAddress": "sample string 4"
}

application/xml, text/xml

Sample:
<FirewallRuleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NipoSoftware.Nfield.Manager.Api.Models.Delivery">
  <EndIpAddress>sample string 4</EndIpAddress>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <StartIpAddress>sample string 3</StartIpAddress>
</FirewallRuleModel>