Skip to main content
GET
Get an IPv4 rule by GID

Authorizations

Authorization
string
header
required

JWT signed (HS256) with a per-user server-side secret; revocable per user. Token handling follows RFC8725 (JWT best current practices): algorithm pinned by the server, no none, claims checked against the live user record. See the API description for the compatibility forms (Basic, query parameter).

Path Parameters

ref
string
required

GET: rule GID (OFA-RULE-GID-...). PUT: IPv4 address.

Maximum string length: 128
Pattern: ^[A-Za-z0-9._:/-]+$

Query Parameters

page_size
integer<int32>
default:64

Maximum rules.

Required range: 1 <= x <= 1000
full
enum<string>

yes includes the per-organization submissions.

Available options:
yes
show_id
enum<string>

1 only rules from the web app, 2 rules blocked by the caller's organization, 3 rules unblocked by it.

Available options:
0,
1,
2,
3

Response

Rule.

header
object
required
body
object[]
required
Maximum array length: 1000