Introduction

Welcome! This is the API reference for the NetFoundry Network Management Service (v2), a lexicon of all possible API operations and their parameters. More conceptually and procedurally oriented guides and code samples may be found by visiting the Developer Portal.

Overview

HTTP verbs

NetFoundry adheres closely to standard HTTP and REST conventions in its use of HTTP verbs.

Verb Usage

GET

Used to retrieve a resource

POST

Used to create a new resource

PUT

Used to update an existing resource, full updates only

PATCH

Used to update an existing resource, partial updates

DELETE

Used to delete an existing resource

HTTP status codes

NetFoundry adheres closely to standard HTTP and REST conventions in its use of HTTP status codes.

Status code Usage

200 OK

The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request, the response will contain an entity describing or containing the result of the action.

201 Created

The request has been fulfilled and resulted in a new resource being created.

202 Accepted

The request has been accepted and is being processed asynchronously Standard response for successful HTTP requests which invoke back-end services.

204 No Content

The server successfully processed the request, but is not returning any content.

400 Bad Request

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

401 Unauthorized

The request lacks valid authentication credentials for the target resource.

403 Forbidden

The request is authenticated with valid credentials however that set of credentials is not authorized to access this resource.

404 Not Found

The requested resource could not be found but may be available again in the future. Subsequent requests by the client are permissible.

Pagination

Paginated services will accept the following optional request parameters:

Table 1. Request parameters
Path Type Optional Description

page

Integer

true

Page you want to retrieve, 0 indexed and defaults to 0.

size

Integer

true

Size of the page you want to retrieve, defaults to 1000.

sort

String

true

Sort a list of resources by one or more of their properties e.g. ?sort=firstname,asc&sort=lastname,desc. The default order is asc.

Pagination response has following structure:

Table 2. Response structure
Path Type Optional Description

content

Array[Object]

false

Actual items.

totalElements

Integer

false

Total count.

totalPages

Integer

false

Total pages with current page size.

last

Boolean

false

If this page is the last one.

numberOfElements

Integer

false

Actual size of content array (number of items).

first

Boolean

false

If this page is the first one.

sort

Object

true

Sort information object.

size

Integer

false

Requested size of the page.

number

Integer

false

Page number.

empty

booloean

false

If this page is empty.

Content Types

You may request a content type or alternative representation or both for a resource or list of resources with the Accept header.

Request a Content Type

The default content type of a response is HAL+JSON when the Accept header is absent from the request. A table describing available types is below. Here’s an example of requesting a particular endpoint by ID as YAML.

Request
GET /core/v2/endpoints/{{endpointId}} HTTP/1.1
Accept: application/x-yaml
Response
id: "273a915a-50e4-4994-891e-56a33ce6449e"
ownerIdentityId: "6526771d-d0b4-4325-835a-b57caaa698dd"
createdBy: "6526771d-d0b4-4325-835a-b57caaa698dd"
createdAt:
  nano: 448425000
  epochSecond: 1616076528
updatedAt:
  nano: 661920000
  epochSecond: 1623109454
deletedBy: null
deletedAt: null
networkId: "5611d56c-cb91-4b8f-b658-9e066092ff0a"
zitiId: "uIWXyl94U"
name: "ACME Endpoint1"
typeId: "5b53fb49-51b1-4a87-a4e4-edda9716a970"
appId: null
appVersion: null
branch: "main"
revision: "80ece9482fdd"
type: "ziti-sdk-golang"
version: "v0.15.13"
arch: "amd64"
os: "darwin"
osRelease: "17.7.0"
osVersion: "Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64"
hasApiSession: false
hasEdgeRouterConnection: false
sessionIdentityId: null
syncId: null
syncResourceId: null
attributes:
  - "#workFromAnywhere"
sessionActive: true
jwt: null
mfaEnabled: false
jwtExpiresAt: null
Notation MIME Type Description

HAL+JSON (default)

application/hal+json

If you request a single resource by ID then the top level of the response will describe that resource and have _links to related resources.

If you request a list of resources then response will have _embedded.{{type}}List where {{type}} is the type of resource e.g. endpointList and _links to resources that are related to the list, and each element will have _links to resources related to that individual resource. If there’s not at least one resource in the list, or when then the key _embedded will not be present.

JSON

application/json

Single resource: response is a JSON dictionary describing the resource

List of resources: response is a JSON list where each element describes an individual resource. For embedded resources in non-HAL formats, the _embedded key is as described above but no _links keys will be present. Deprecation: Non-HAL formats additionally have a deprecated format for embedded resources where the embedded resources are returned as keys on the resource instead of contained within an _embedded key. Entries returned this way will always be returned as collections of resources regardless of whether or not the key implies a collection, e.g. host vs hosts.

YAML

application/x-yaml

Single resource: response is a YAML dictionary describing the resource

List of resources: response is a YAML list where each element describes an individual resource.

CSV

text/csv

Comma-separated format where the first line is composed of column headers and subsequent lines each represent one resource.

Request a Representation

A representation is a way of filtering and transforming the properties that are returned for each resource. The default representation includes all resource properties. There is one alternative representation available at this time: the create representation includes only the properties that are necessary to create an identical resource. This is useful for things like as-code snapshots and cloning resources. You may append the as=create parameter to the default MIME type to change only the representation of the resources in the response.

Request
GET /core/v2/endpoints?networkId={{networkId}} HTTP/1.1
Accept:application/hal+json;as=create
Response
{
    "_embedded": {
        "createEndpointList": [
            {
              "name": "ACME Endpoint1",
              "enrollmentMethod": {
                "ott": true,
                "updb": null,
                "ottca": null
              },
              "attributes": [
                "#workFromAnywhere"
              ],
              "_links": {
                "network": {
                  "href": "https://gateway.production.netfoundry.io/core/v2/networks/5611d56c-cb91-4b8f-b658-9e066092ff0a",
                  "title": "ACME Network",
                  "profile": "parent"
                },
                "self": {
                  "href": "https://gateway.production.netfoundry.io/core/v2/endpoints/273a915a-50e4-4994-891e-56a33ce6449e"
                }
              }
            }
        ]
    }
}
Parameter Value Description

as

create

Only return the properties necessary to create the same resource.

Embed Child Resources

When requesting an individual or list of resources you may additionally request child resources be embedded in the response by sending query parameter embed=all or embed={{child}}. The valid names for child resources are the keys in _links, except things that are not children like self, network. The table below details how the format of the embedded lists varies depending upon the requested content-type. Embedding is always one level deep. Put another way, the network is like the trunk which may embed branch lists (e.g. edge routers), and branches may embed individual leaves (e.g. the edge router’s host).

Request

This example requests that the "edge-routers" child resource list be embedded in the response that describes a particular network.

GET /core/v2/networks/${networkId}?embed=edge-routers
Accept: application/hal+json
Response

The full response would be prohibitively verbose, and so this template will demonstrate the response structure for a single resource with embedded child list "edge-routers".

{
  {{ network properties }},
  "_embedded": {
    "edge-routers": {{ list of edge routers }}
  },
  "_links": {{ dictionary of related resources}}
}
Request

This example requests the "host" resource be embedded in each element of the list of edge routers

GET /core/v2/edge-routers?networkId=${networkId}&embed=host
Accept: application/hal+json
Response

The full response would be prohibitively verbose, and so this template will demonstrate the response structure for a list of resources with embedded child "host".

{
  "_embedded": {
    "edgeRouterList": [
      {
        {{ edge router 1 properties }},
        "_links": {{ edge router 1 links }},
        "_embedded": {
          "host": {{ edge router 1 host's properties }}
        }
      },
      {
        {{ edge router 2 properties }},
        "_links": {{ edge router 2 links }},
        "_embedded": {
          "host": {{ edge router 2 host's properties }}
        }
      }
    ]
  },
  "_links": {{ edge router list's links }},
  "page": {
    "size": 3500,
    "totalElements": 2,
    "totalPages": 1,
    "number": 0
  }
}
Notation MIME Type Embedded Format

HAL+JSON (default)

application/hal+json

The response has key _embedded which will itself have keys for each type of resource. For example, _embedded.endpoints and _embedded."edge-routers" are typical when requesting an embedded list of endpoints or edge routers for a particular network or list of networks.

JSON

application/json

Each requested, embedded list will appear in a top-level key e.g. .endpoints and ."edge-routers".

YAML

application/x-yaml

Each requested, embedded list will appear in a top-level key where the resource type has been transposed from kebab-case to camel-case e.g. edge-routers becomes top-level key edgeRouters.

CSV

text/csv

Heterogeneous embedded resources can not be expressed as CSV because they would require different column headers.

Select Resource Properties

When requesting an individual or list of resources you may additionally request only certain properties be included in the response by sending an alternate 'accept' header. The properties are specified as a header parameter named includeProperties, the properties requested should be separated by | (pipe). All requested properties are returned, null values included, as long as the property exists on the requested resource.

Request

This example request would return only the property’s id, zitiId, and networkId.

GET /core/v2/networks/${networkId}
Accept: application/hal+json;includeProperties=id|zitiId|networkId
Response
{
  "id", {{ the id of the resource }},
  "zitiId", {{ the ziti id of the resource }},
  "networkId", {{ the id of network this resource belongs to }},
  "_links": {{ dictionary of related resources }}
}
Request

This example request would return only the property’s id and status.

GET /core/v2/edge-routers
Accept: application/hal+json;includeProperties=id|status
Response
{
  "_embedded": {
    "edgeRouterList": [
      {{ edge router 1 properties }}
      {
        "id", {{ the id of the resource }},
        "status", {{ current status of the edge routers }},
        "_links": {{ dictionary of related resources for this resource }}
      },
      {{ edge router 2 properties }}
      {
        "id", {{ the id of the resource }},
        "status", {{ current status of the edge routers }},
        "_links": {{ dictionary of related resources for this resource }}
      }
    ]
  },
  "_links": {{ dictionary of edge routers related resources }},
  "page": {
    "size": 3500,
    "totalElements": 2,
    "totalPages": 1,
    "number": 0
  }
}

Backup a Network

You may combine techniques above for requesting embedded resources and the as=create representation to backup a network.

Request
GET /core/v2/network/{{networkId}}&embed=all
Accept: application/hal+json;as=create

Authentication

Authentication is delegated to an identity provider e.g. Cognito, Auth0, Okta. Use your API account credential to obtain an access token. Know more by reading the Authentication Guide.

Cognito

Follow this example if your authentication URL is for Amazon Cognito.

NETFOUNDRY_API_TOKEN=$( \ (1)
  curl --user ${NETFOUNDRY_CLIENT_ID}:${NETFOUNDRY_PASSWORD} \ (2)
    --request POST ${NETFOUNDRY_OAUTH_URL} \ (3)
    --header 'content-type: application/x-www-form-urlencoded' \
    --data 'grant_type=client_credentials&scope=https%3A%2F%2Fgateway.production.netfoundry.io%2F%2Fignore-scope' | \
      jq -r .access_token (4)
)
1 creates an environment variable NETFOUNDRY_API_TOKEN to hold the token after successful request. The contents of this variable will be used in all subsequent requests
2 substitute the client ID and password for your API account
3 substitute the authentication URL for your API account
4 extract the access token with jq (command-line JSON processor)

Auth0

Follow this example if your authentication URL is for Auth0.

NETFOUNDRY_API_TOKEN=$( \(1)
  curl \(2)
    --request POST \
    --silent \
    --show-error \
    --header 'content-type: application/json' \
    --data '{
        "client_id":"---redacted----",       (3)
        "client_secret": "---redacted----",  (4)
        "audience":"https://gateway.production.netfoundry.io/",
        "grant_type":"client_credentials"
    }' \
    https://netfoundry-production.auth0.com/oauth/token |\
    jq -r .access_token \(5)
) && echo $NETFOUNDRY_API_TOKEN (6)
1 creates an environment variable NETFOUNDRY_API_TOKEN to hold the token after successful request. The contents of this variable will be used in all subsequent requests
2 this example uses the cURL command to perform the request
3 you will need to insert your actual client ID
4 you will need to insert your actual secret
5 this example uses jq to parse the response from Auth0 and extract the token
6 this line prints the extracted token; it is included for convenience / debugging purposes only

API request using access token

Execute an http request per the example below (e.g. fetch networks). The access token is presented to the API via the Authorization header, which in turn leverages the NETFOUNDRY_API_TOKEN variable used in the previous example to store the extracted access token.

# get networks
curl https://gateway.production.netfoundry.io/core/v2/networks \ (1)
    --header "Authorization: Bearer ${NETFOUNDRY_API_TOKEN}"     (2)
1 the URL used to fetch networks (see also [Listing networks])
2 the Authorization header transmits the Bearer token

Resources

Network Groups

Create Network Group

POST /network-groups

Authorization

This endpoint requires create action on the network-group resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

billingAccountId

String

true

io.netfoundry.common.util.validation.ValidAs.

ownerIdentityId

String

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

name

String

false

Size must be between 0 and 255 inclusive.

shortName

String

false

Size must be between 0 and 8 inclusive.

billingAccountId

String

true

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/network-groups' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJvTlJMSnNYeVdfZ2dNZWVLek5hZGhBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImM2YWZhNWUyLTMyMmYtNGZkZC04NTBkLWQ3NjgzNWFlNDRiNiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY2OCwiZXhwIjoxNjYzOTUyMjY4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImZkNjA5NWE1LWRmMDctNGJkYi04YzY2LWY5ODFlMjA2NmIwYVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY2OH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.mwv6fg1Mg6jw5VhVKeJzE_a7R1rHpWzlmHquRP1XHJJmjHTR8cckyQwu-deLx3wqDZ3_mZkLr0YKXxCRz4HCmU3X5-2plNeUKAbmDKbIcSf_50eDSvjqP8WuD5OwpiAxDe51Jfy47gNxMiDdfUjpzGvfOdQJe60mH9lCnro4UrAALG6xve95O3FLhY0-Zn9v1jl46Fq6-Ds0h1Q7fndXEbMAOeMWgW7woo9vGBzKW1cxKqWv12PosNsNkQy82xudoAY4pM5uKfU8odoltwCgh35yrNodex6uLd6T6vJMpH53Tzke1YJRiRsSQWSH8uJfXNT1s8O36ub8o3Kf47dq9Q' \
    -d '{"name":"New NG-334","billingAccountId":"db7bf28f-723e-4225-9430-ce5829704522","ownerIdentityId":"57996787-6f85-4549-932a-4861fedc84f0"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 582

{
  "id" : "7f4f4de7-bfef-4b1d-9bb5-a96a29054b06",
  "name" : "New NG-334",
  "shortName" : "NEWNG334",
  "billingAccountId" : "db7bf28f-723e-4225-9430-ce5829704522",
  "ownerIdentityId" : "57996787-6f85-4549-932a-4861fedc84f0",
  "createdBy" : "c6afa5e2-322f-4fdd-850d-d76835ae44b6",
  "createdAt" : "2022-09-23T15:57:48.585310Z",
  "updatedAt" : "2022-09-23T15:57:48.585310Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/7f4f4de7-bfef-4b1d-9bb5-a96a29054b06"
    }
  }
}

Delete Network Group

DELETE /network-groups/{id}

Authorization

This endpoint requires delete action on the network-group resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/network-groups/c5695964-8a27-4298-afe2-89c3bcbe7d06' -i -X DELETE \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJEdThnM21ycTJ6TnhCVHVGcTdJVk1nIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6Ijg0OGM5YjdmLTE1NTgtNDBjYS05NmY3LWNlOTQxNmEwZmQwNiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY2OCwiZXhwIjoxNjYzOTUyMjY4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImRmZTBmMmNmLTVkZTgtNDk3ZC1iNTE2LTJhMGUzNTMzMzQ4OFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY2OH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.SVF7gIwL8xhK8W7U8CfpYlZYl3U7DPobLcs4SiyOxW_hwyoRvNCEkJnEdH4HCbwXf0jP45-yk9F5TnCNsyGJ4DoHRYISqBSytH4bAU5aef4KOT8dbErUy0IF73uyJhwGWN9XmCqB5b7Jy0A9LqJdH6ukqug4VqAKWJ9tg-qRqDU49Ga6UQJvN9HXDwr8yg5Ym3xf0u40HUZXAW6kU_FiYBDRKJ4ERu9qC3GJg7hKeXZmfJ2TEDnG42IGbPpq9we8JyvaCdAFuswo9s38oAdv3xu2QyEwQYFFDwOnPYPWcr-pNWgTEl_LK93vNVAsYQ_HRCEjX_96cAnPGPUnvb_NsQ'

Example response

HTTP/1.1 200 OK

Get Network Group

GET /network-groups/{id}

Authorization

This endpoint requires read action on the network-group resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

name

String

false

Size must be between 0 and 255 inclusive.

shortName

String

false

Size must be between 0 and 8 inclusive.

billingAccountId

String

true

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/network-groups/ce3f1abe-20fd-4f68-81e6-4df6507e8673' -i -X GET \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJSM1ExRVY3SjNweW5nck1RTzhBSFhRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6Ijc1ZDQ1Mzg2LWQ2ODUtNDYxMi1hZGYxLWE3ZTdlYzdlMTk1MCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY2OCwiZXhwIjoxNjYzOTUyMjY4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjFmMzQ5OTVjLWU4NGYtNGVlNy1hNGJhLWYzYWI3OWJhODA2NVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY2OH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.dqfFhEJAoyBUXRVMxGJK7ss-MnSUxYDkA5VqdMZRoCXZpXkphJZtfdxr5LiWchq2NyZtDEWRAsjw-vAxDtu_x4exKPhKMxKBeRL1G9UXz9_gm5b2No-F2nzalnQtEnNvnY_hWByM03X_b49B_O3vta1MNsv2A8Bu2jRHkN7ElW4-BLJTnduHlltwtQzG_umLEKgUNeUxkiWLBe4spLi030Tw0RpEiToXxHguKr7VmdPpyqltYQEaYVuWEsdX-uLD3gDo-x35s6Glg-ehZIpqLEA5XOtTUn5uR_oVzdCd9DvC8usDVFLS-Dn-TTa8NujWhTB-GV7MEOFsuP9zyP1_UA'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 579

{
  "id" : "ce3f1abe-20fd-4f68-81e6-4df6507e8673",
  "name" : "Test-NG",
  "shortName" : "Test-NG1",
  "billingAccountId" : "64d554a3-2751-46db-b70a-51a5db37afad",
  "ownerIdentityId" : "13cc1dcc-50d3-47a6-b22c-2927f8e5810e",
  "createdBy" : "2497c5e0-b976-48be-b3f9-603b24406e8d",
  "createdAt" : "2022-09-23T15:57:48.509379Z",
  "updatedAt" : "2022-09-23T15:57:48.509379Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/ce3f1abe-20fd-4f68-81e6-4df6507e8673"
    }
  }
}

Find Network Groups

GET /network-groups

Authorization

This endpoint requires read action on the network-group resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

name

String

false

Size must be between 0 and 255 inclusive.

shortName

String

false

Size must be between 0 and 8 inclusive.

billingAccountId

String

true

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

name

String

false

Size must be between 0 and 255 inclusive.

shortName

String

false

Size must be between 0 and 8 inclusive.

billingAccountId

String

true

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/network-groups' -i -X GET \
    -H 'Content-Type: application/x-www-form-urlencoded' \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiSFkxb3lVQXA2elFnQzcwMXk3ZzRnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjY5ZmMyYmUzLWMzZmItNDA4Zi05OTRkLWQ1MDg3N2Q0MDVmYiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY2OCwiZXhwIjoxNjYzOTUyMjY4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjJiZjJiYjg5LTczMjItNDVmNS04NTIwLTIwZDVlNzI2NTRhOVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY2OH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.XiTgxlERR7-K8UGpikauRaXKD6hJ_Tr_jy5ilWiqCZ8rg8b3gqn3Eqqa1gFL5H--ew8MAFx8_zoHW2o8Riv4TUXhO5E6nEO_ZoCmy4KyGKyaC4UJAeIzu7-Bn9R0RRtoYBsdCcq_bZf1HQ0xFaJSz2jfbpWqciqtZHuFV5dobzRr6fkoJzO-ZFEFJAqPkDf49Ar5Cuxi43QEu-SbD-MyeVwyJpKVNPV0QYMXuEwRiPHfr8Ee9WmWDbmZQUU5kcWx57AJh6zxgONyDHl3ep-ODUDyBsxPxx_FY-uTME8g2tPXQcCmY7wRnemxacYFlXIdjPiayqfkjypS7AkBywTvcA'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 1578

{
  "_embedded" : {
    "networkGroupList" : [ {
      "id" : "7d4520f9-2b4b-42cc-b305-e0d5bba78dbb",
      "name" : "Test-NG",
      "shortName" : "Test-NG1",
      "billingAccountId" : "7a4b52db-5cbd-4c6c-bee5-17bbe61486d1",
      "ownerIdentityId" : "70c052b3-fada-4aaf-bebf-0642e65738c6",
      "createdBy" : "fba1e3e3-fde1-4260-b179-7aad404472bf",
      "createdAt" : "2022-09-23T15:57:48.428382Z",
      "updatedAt" : "2022-09-23T15:57:48.428382Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/7d4520f9-2b4b-42cc-b305-e0d5bba78dbb"
        }
      }
    }, {
      "id" : "cd9bc842-afb5-431c-8764-8be0c33c373f",
      "name" : "Updated NG Name-330",
      "shortName" : "Test-NG1",
      "billingAccountId" : "e51c27fe-a12d-41eb-8ccd-6cbea358c100",
      "ownerIdentityId" : "ab017b13-41be-441d-be5f-a8f69406de6f",
      "createdBy" : "a415b25f-53f1-44d7-840c-2abfb7f84a72",
      "createdAt" : "2022-09-23T15:57:48.271135Z",
      "updatedAt" : "2022-09-23T15:57:48.335155Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/cd9bc842-afb5-431c-8764-8be0c33c373f"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Update Network Group

PATCH /network-groups/{id}

Authorization

This endpoint requires update action on the network-group resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

billingAccountId

String

true

io.netfoundry.common.util.validation.ValidAs.

ownerIdentityId

String

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

name

String

false

Size must be between 0 and 255 inclusive.

shortName

String

false

Size must be between 0 and 8 inclusive.

billingAccountId

String

true

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/network-groups/cd9bc842-afb5-431c-8764-8be0c33c373f' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJYT0VBSU13ZmpDRFZSVHdXWFR0R05RIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImUyNjhjYmY2LTg2OTctNDVjZC1hZWQzLTVhMGRjODM1MDZhNyIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY2OCwiZXhwIjoxNjYzOTUyMjY4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImU0M2E5YTdkLWVhODQtNDg3My04YjM4LWEyMDNjMzgyM2RhNlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY2OH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.HccCtVxLbz5U3qjv-gaSTFXzJXZwTPCoOw9DtMOWHqGa7myl1nykjSyYcZvV2opC4rKKo6SISn-ZSvyn2il3K_3xrK86Pwg0tbe1NTlmeJLM_ihApBsomouJa5Te5IL7OQ1TVR_rPz66zS6ibYvJpA3YIX4eDDaoJHye1L2VKCVLJP--6OBiphpOydAhzdKSqUOsxdA_wfp8pKl7jS3nZ0j3pUbbhSc2cyyQxq46Zn_3cWw6lGjlaZE6-mgpmrFQroF3QSUDSH7bPrpTu58KQycZqsy2ubZRYLH8zxQqcsOa8gBRbwCA6Cgpor9g9d4UvMY2Hjkm_mmUp3iTpmgYYw' \
    -d '{"name":"Updated NG Name-330","billingAccountId":"e51c27fe-a12d-41eb-8ccd-6cbea358c100","ownerIdentityId":"ab017b13-41be-441d-be5f-a8f69406de6f"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 591

{
  "id" : "cd9bc842-afb5-431c-8764-8be0c33c373f",
  "name" : "Updated NG Name-330",
  "shortName" : "Test-NG1",
  "billingAccountId" : "e51c27fe-a12d-41eb-8ccd-6cbea358c100",
  "ownerIdentityId" : "ab017b13-41be-441d-be5f-a8f69406de6f",
  "createdBy" : "a415b25f-53f1-44d7-840c-2abfb7f84a72",
  "createdAt" : "2022-09-23T15:57:48.271135Z",
  "updatedAt" : "2022-09-23T15:57:48.335155Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/cd9bc842-afb5-431c-8764-8be0c33c373f"
    }
  }
}

Networks

Find Networks

GET /networks

Authorization

This endpoint requires read action on the network resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

network.size

Object

true

findByName

String

true

Deprecated..

findByNetworkGroupId

Object

true

Deprecated..

region

String

true

Deprecated..

locationCode

String

true

Deprecated..

size

String

true

Deprecated..

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkGroupId

String

false

size

String

false

Deprecated..

productVersion

Object

false

region

String

false

Deprecated..

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

browzerEnabled

Boolean

true

o365BreakoutCategory

String

false

Must be one of [OPTIMIZE, OPTIMIZE_ALLOW, OPTIMIZE_ALLOW_DEFAULT, NONE].

networkController

Object

true

Deprecated..

networkController.id

String

false

networkController.ownerIdentityId

String

true

networkController.networkId

String

false

networkController.domainName

String

true

networkController.name

String

false

networkController.hostId

String

false

networkController.status

String

true

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

networkController.createdAt

String

false

networkController.updatedAt

String

false

networkController.deletedAt

String

true

networkController.createdBy

String

true

networkController.deletedBy

String

true

Path Optional Description

self

false

networkControllers

false

edgeRouters

false

edgeRouterPolicies

false

endpoints

false

services

false

appWans

false

certificateAuthorities

false

hosts

false

Embedded resources

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkGroupId

String

false

size

String

false

Deprecated..

productVersion

Object

false

region

String

false

Deprecated..

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

browzerEnabled

Boolean

true

o365BreakoutCategory

String

false

Must be one of [OPTIMIZE, OPTIMIZE_ALLOW, OPTIMIZE_ALLOW_DEFAULT, NONE].

networkController

Object

true

Deprecated..

networkController.id

String

false

networkController.ownerIdentityId

String

true

networkController.networkId

String

false

networkController.domainName

String

true

networkController.name

String

false

networkController.hostId

String

false

networkController.status

String

true

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

networkController.createdAt

String

false

networkController.updatedAt

String

false

networkController.deletedAt

String

true

networkController.createdBy

String

true

networkController.deletedBy

String

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/networks' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJlSFBERGJnX0I3V2FCNWt6a19oX0lRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjU2ZDE0NGU2LTM4OTMtNDg3My1iZGJiLTk3OWEwMzVkODI4MCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYzNiwiZXhwIjoxNjYzOTUyMjM2LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImQwNjc0ZjRkLTY5MmItNGQ0ZS04NWY1LTA0MzJlOWZiODdkNFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYzNn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.oqrvUtjQ6oqZQ6INNzu6an0LZBrZrSgfcLrPFw79dQbeqcFOOO3Udew-mY2jd511J5y1rsfPUUIKdXTsgQf7D4t7p7aAsz-2YB9abTVbT9rxnM6s4rv3iOuI6vETkYPmc9kvZPXvNKsfXX4LjmcDa1kEsu1ldZskNGAB2ykeF0nEQjBFj1OJ2bvQdMnOpKFrkCViEfczrtbb0BpXhp_lcrFQbSOt32457wy6UftEFNshX3zF7ea-DdBGsmL2FPn-0jXdVQ9wLaoQbgK4GYxkDu-ktCK5on3T6jgxfzyNn-U827QcRQn_NP48q7QRzHsjHfWDKhYB8wCalnEjgucODw'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 13631

{
  "_embedded" : {
    "networkList" : [ {
      "id" : "0c3bc83c-58de-47d7-9819-93ab18b03547",
      "ownerIdentityId" : "ac3baea0-17f0-49d1-a387-0ae7a8dd6866",
      "createdBy" : "ac3baea0-17f0-49d1-a387-0ae7a8dd6866",
      "createdAt" : "2022-09-23T15:57:13.614783Z",
      "updatedAt" : "2022-09-23T15:57:13.619307Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "name" : "network-131",
      "networkGroupId" : "f1b1b954-26e1-4072-918f-450c29126561",
      "size" : "small",
      "productVersion" : "7.3.37",
      "region" : "us-east-1",
      "status" : "PROVISIONED",
      "o365BreakoutCategory" : "NONE",
      "networkController" : {
        "id" : "98db84ae-3a56-4dda-86b8-d8486f050d62",
        "ownerIdentityId" : "ac3baea0-17f0-49d1-a387-0ae7a8dd6866",
        "networkId" : "0c3bc83c-58de-47d7-9819-93ab18b03547",
        "domainName" : null,
        "name" : "network-131-nc",
        "hostId" : "7319fecc-86ec-4296-9dc0-14d5baad439a",
        "status" : "PROVISIONED",
        "createdAt" : "2022-09-23T15:57:13.622985Z",
        "updatedAt" : "2022-09-23T15:57:13.622985Z",
        "deletedAt" : null,
        "createdBy" : "ac3baea0-17f0-49d1-a387-0ae7a8dd6866",
        "deletedBy" : null
      },
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "network-group" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/f1b1b954-26e1-4072-918f-450c29126561",
          "profile" : "parent"
        },
        "networks" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks",
          "profile" : "parent"
        },
        "app-wans" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "configs" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/configs?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "endpoints" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "process-executions" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/process-executions?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "edge-router-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "hosts" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/hosts?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "posture-checks" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "config-types" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/config-types?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "edge-routers" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "services" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/services?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "service-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/service-policies?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "executions" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/executions?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "certificate-authorities" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "service-edge-router-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "network-controllers" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        },
        "terminators" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/terminators?networkId=0c3bc83c-58de-47d7-9819-93ab18b03547"
        }
      }
    }, {
      "id" : "2d161aee-32b3-49ed-8660-2177ffdeff52",
      "ownerIdentityId" : "8b3b02f5-e827-4d1d-8518-f5346e6692b4",
      "createdBy" : "8b3b02f5-e827-4d1d-8518-f5346e6692b4",
      "createdAt" : "2022-09-23T15:57:16.573308Z",
      "updatedAt" : "2022-09-23T15:57:16.574583Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "name" : "network-157",
      "networkGroupId" : "21be151c-8ebd-48f3-85a2-7ca7e4e14e62",
      "size" : "small",
      "productVersion" : "7.3.37",
      "region" : "us-east-1",
      "status" : "PROVISIONED",
      "o365BreakoutCategory" : "NONE",
      "networkController" : {
        "id" : "98f4b0ea-094a-476f-8709-c6b7f72b9aa2",
        "ownerIdentityId" : "8b3b02f5-e827-4d1d-8518-f5346e6692b4",
        "networkId" : "2d161aee-32b3-49ed-8660-2177ffdeff52",
        "domainName" : null,
        "name" : "network-157-nc",
        "hostId" : "3cadf1a0-d163-4c53-a8ef-aee133d5dec2",
        "status" : "PROVISIONED",
        "createdAt" : "2022-09-23T15:57:16.577081Z",
        "updatedAt" : "2022-09-23T15:57:16.577081Z",
        "deletedAt" : null,
        "createdBy" : "8b3b02f5-e827-4d1d-8518-f5346e6692b4",
        "deletedBy" : null
      },
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "network-group" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/21be151c-8ebd-48f3-85a2-7ca7e4e14e62",
          "profile" : "parent"
        },
        "networks" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks",
          "profile" : "parent"
        },
        "app-wans" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "configs" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/configs?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "endpoints" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "process-executions" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/process-executions?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "edge-router-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "hosts" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/hosts?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "posture-checks" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "config-types" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/config-types?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "edge-routers" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "services" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/services?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "service-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/service-policies?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "executions" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/executions?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "certificate-authorities" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "service-edge-router-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "network-controllers" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        },
        "terminators" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/terminators?networkId=2d161aee-32b3-49ed-8660-2177ffdeff52"
        }
      }
    }, {
      "id" : "50d72aa0-034c-44fd-8d33-5c8dfd746e9d",
      "ownerIdentityId" : "686246e7-4062-4efe-a7b9-e4b2841e29d0",
      "createdBy" : "686246e7-4062-4efe-a7b9-e4b2841e29d0",
      "createdAt" : "2022-09-23T15:57:15.881756Z",
      "updatedAt" : "2022-09-23T15:57:15.883012Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "name" : "network-145",
      "networkGroupId" : "53b2f02d-2f2d-46ed-bdb2-d76fa4dd4305",
      "size" : "small",
      "productVersion" : "7.3.37",
      "region" : "us-east-1",
      "status" : "PROVISIONED",
      "o365BreakoutCategory" : "NONE",
      "networkController" : {
        "id" : "71f1e1bd-dc2c-4216-bd15-c2f5f35afdd9",
        "ownerIdentityId" : "686246e7-4062-4efe-a7b9-e4b2841e29d0",
        "networkId" : "50d72aa0-034c-44fd-8d33-5c8dfd746e9d",
        "domainName" : null,
        "name" : "network-145-nc",
        "hostId" : "4d68f9f7-c732-4c74-9033-4d42f67e8900",
        "status" : "PROVISIONED",
        "createdAt" : "2022-09-23T15:57:15.885439Z",
        "updatedAt" : "2022-09-23T15:57:15.885439Z",
        "deletedAt" : null,
        "createdBy" : "686246e7-4062-4efe-a7b9-e4b2841e29d0",
        "deletedBy" : null
      },
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "network-group" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/53b2f02d-2f2d-46ed-bdb2-d76fa4dd4305",
          "profile" : "parent"
        },
        "networks" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks",
          "profile" : "parent"
        },
        "app-wans" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "configs" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/configs?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "endpoints" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "process-executions" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/process-executions?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "edge-router-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "hosts" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/hosts?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "posture-checks" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "config-types" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/config-types?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "edge-routers" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "services" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/services?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "service-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/service-policies?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "executions" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/executions?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "certificate-authorities" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "service-edge-router-policies" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "network-controllers" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        },
        "terminators" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/terminators?networkId=50d72aa0-034c-44fd-8d33-5c8dfd746e9d"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 11,
    "totalPages" : 1,
    "number" : 0
  }
}

Get Network

GET /networks/{id}

Authorization

This endpoint requires read action on the network resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkGroupId

String

false

size

String

false

Deprecated..

productVersion

Object

false

region

String

false

Deprecated..

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

browzerEnabled

Boolean

true

o365BreakoutCategory

String

false

Must be one of [OPTIMIZE, OPTIMIZE_ALLOW, OPTIMIZE_ALLOW_DEFAULT, NONE].

networkController

Object

true

Deprecated..

networkController.id

String

false

networkController.ownerIdentityId

String

true

networkController.networkId

String

false

networkController.domainName

String

true

networkController.name

String

false

networkController.hostId

String

false

networkController.status

String

true

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

networkController.createdAt

String

false

networkController.updatedAt

String

false

networkController.deletedAt

String

true

networkController.createdBy

String

true

networkController.deletedBy

String

true

Path Optional Description

self

false

networkControllers

false

edgeRouters

false

edgeRouterPolicies

false

endpoints

false

services

false

appWans

false

certificateAuthorities

false

hosts

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/networks/b36100db-5879-4aed-9fe5-80b7b636657c' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJFRHBNVEtfLVdZRFNZX0VvTkIwM0pBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImNkOTkyZTkxLWNiNWItNDNmNy05MTc1LTFiMmE0MTk5NTViNiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYzNiwiZXhwIjoxNjYzOTUyMjM2LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjAxNWM3ODY4LWRlMjEtNDg5Yi05ZDIxLWVhZDIyZDQ4ZjRkMFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYzNn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.s3XKUsvuASjFIT0nax2rxoTF5Oxue2YyIwmlWfubbew82oenqu4afzPxCjRRnAOTBmxAoUomdExmj-3zuhNoEoh-U_rAb4hYwhwLTJUknnCgKgSGfeR5Uk8KBf1tDnQtQhlUrJFXEyhNgzCyk-vDaAkuZ78y1VH3rNSSws2vb9a8ShLN0l6QFX0gX5Hsvnk5WE3LvFWpaDjFFmAxmY8zftA8avELB1fijmIwiBigJUYX65z-chOYSOXyt7BooCkgtZhf8UAReDLLmMMWgHBEQ_RhY8PL_IX4LQXL3Ns5NkQxtDFo94n2tK7CpYzjciRkrbSX913btZiadcp82Mq8TA'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 4093

{
  "id" : "b36100db-5879-4aed-9fe5-80b7b636657c",
  "ownerIdentityId" : "d6992639-849f-461d-9ab3-f5493618f33f",
  "createdBy" : "d6992639-849f-461d-9ab3-f5493618f33f",
  "createdAt" : "2022-09-23T15:57:16.000972Z",
  "updatedAt" : "2022-09-23T15:57:16.007075Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "name" : "network-149",
  "networkGroupId" : "4e0214ed-e04d-4bc8-86f6-bc6f8b84e456",
  "size" : "small",
  "productVersion" : "7.3.37",
  "region" : "us-east-1",
  "status" : "PROVISIONED",
  "o365BreakoutCategory" : "NONE",
  "networkController" : {
    "id" : "eb68fcc5-60e0-41e7-ac59-1d4850c1bc4d",
    "ownerIdentityId" : "d6992639-849f-461d-9ab3-f5493618f33f",
    "networkId" : "b36100db-5879-4aed-9fe5-80b7b636657c",
    "domainName" : null,
    "name" : "network-149-nc",
    "hostId" : "7c8404b3-cd33-480e-90be-720bf8a03787",
    "status" : "PROVISIONED",
    "createdAt" : "2022-09-23T15:57:16.010090Z",
    "updatedAt" : "2022-09-23T15:57:16.010090Z",
    "deletedAt" : null,
    "createdBy" : "d6992639-849f-461d-9ab3-f5493618f33f",
    "deletedBy" : null
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "network-group" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/4e0214ed-e04d-4bc8-86f6-bc6f8b84e456",
      "profile" : "parent"
    },
    "networks" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks",
      "profile" : "parent"
    },
    "app-wans" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "configs" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/configs?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "endpoints" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "process-executions" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/process-executions?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "edge-router-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "hosts" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/hosts?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "posture-checks" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "config-types" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/config-types?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "edge-routers" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "services" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/services?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "service-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/service-policies?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "executions" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/executions?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "certificate-authorities" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "service-edge-router-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "network-controllers" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    },
    "terminators" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/terminators?networkId=b36100db-5879-4aed-9fe5-80b7b636657c"
    }
  }
}

Create Network

POST /networks

Authorization

This endpoint requires create action on the network resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

networkGroupId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

size

String

true

io.netfoundry.common.util.validation.ValidAs.

name

String

true

io.netfoundry.common.util.validation.ValidAs.

productVersion

Object

true

o365BreakoutCategory

String

true

Must be one of [OPTIMIZE, OPTIMIZE_ALLOW, OPTIMIZE_ALLOW_DEFAULT, NONE].

provider

String

true

Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

region

String

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouters

Array[Object]

true

edgeRouters[].name

String

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouters[].networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

edgeRouters[].dataCenterId

String

true

Deprecated..

edgeRouters[].provider

String

true

io.netfoundry.common.util.validation.ValidAs.
Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

edgeRouters[].region

String

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouters[].hostSize

String

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouters[].linkListener

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouters[].wssListener

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouters[].tunnelerEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouters[].noTraversal

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouters[].attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouterPolicies

Array[Object]

true

edgeRouterPolicies[].name

String

false

io.netfoundry.common.util.validation.ValidAs.

edgeRouterPolicies[].networkId

String

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

edgeRouterPolicies[].semantic

String

false

io.netfoundry.common.util.validation.ValidAs.
Must be one of [AllOf, AnyOf].

edgeRouterPolicies[].endpointAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouterPolicies[].edgeRouterAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

services

Array[Object]

true

services[].networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

services[].name

String

true

io.netfoundry.common.util.validation.ValidAs.

services[].encryptionRequired

Boolean

true

services[].configIds

Array[Object]

true

services[].configNames

Array[String]

true

services[].configs

Array[Object]

true

services[].configs[].networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

services[].configs[].name

String

true

io.netfoundry.common.util.validation.ValidAs.

services[].configs[].configTypeId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

services[].configs[].configTypeName

String

true

services[].configs[].configType

Object

true

services[].configs[].configType.networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

services[].configs[].configType.name

String

true

io.netfoundry.common.util.validation.ValidAs.

services[].configs[].configType.schema

Object

true

io.netfoundry.common.util.validation.ValidAs.

services[].configs[].data

Object

true

io.netfoundry.common.util.validation.ValidAs.

services[].attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

services[].modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

services[].model

Object

true

certificateAuthorities

Array[Object]

true

certificateAuthorities[].networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

certificateAuthorities[].name

String

true

io.netfoundry.common.util.validation.ValidAs.

certificateAuthorities[].autoCaEnrollmentEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

certificateAuthorities[].authEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

certificateAuthorities[].ottCaEnrollmentEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

certificateAuthorities[].certPem

String

false

Size must be between 100 and 2147483647 inclusive.

certificateAuthorities[].endpointAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

certificateAuthorities[].identityNameFormat

String

true

io.netfoundry.common.util.validation.ValidAs.

endpoints

Array[Object]

true

endpoints[].networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

endpoints[].name

String

true

io.netfoundry.common.util.validation.ValidAs.

endpoints[].enrollmentMethod

Object

true

endpoints[].enrollmentMethod.ott

Boolean

true

endpoints[].enrollmentMethod.updb

String

true

endpoints[].enrollmentMethod.ottca

String

true

endpoints[].attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

endpoints[].syncId

String

true

endpoints[].syncResourceId

String

true

endpoints[].shareRegistration

Object

true

endpoints[].shareRegistration.id

String

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

endpoints[].shareRegistration.toList

Array[String]

false

endpoints[].shareRegistration.ccList

Array[String]

true

endpoints[].shareRegistration.subject

String

true

endpoints[].shareRegistration.type

String

true

Must be one of [Email].

appWans

Array[Object]

true

appWans[].networkId

String

false

appWans[].name

String

false

appWans[].serviceAttributes

Array[String]

true

appWans[].endpointAttributes

Array[String]

true

appWans[].postureCheckAttributes

Array[String]

true

postureChecks

Array[Object]

true

postureChecks[].name

String

true

io.netfoundry.common.util.validation.ValidAs.

postureChecks[].networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

postureChecks[].type

String

true

io.netfoundry.common.util.validation.ValidAs.
Must be one of [OS, PROCESS, DOMAIN, MAC, MFA, PROCESS_MULTI].

postureChecks[].attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

postureChecks[].data

Object

false

io.netfoundry.common.util.validation.ValidAs.

postureChecks[].data.domains

Array[String]

false

postureChecks[].data.macAddresses

Array[String]

false

postureChecks[].data.timeoutSeconds

Integer

true

Must be at least 0.

postureChecks[].data.promptOnWake

Boolean

true

postureChecks[].data.promptOnUnlock

Boolean

true

postureChecks[].data.ignoreLegacyEndpoints

Boolean

true

postureChecks[].data.operatingSystems

Array[Object]

false

postureChecks[].data.operatingSystems[].type

String

false

Must be one of [Windows, Android, iOS, Linux, macOS, WindowsServer].

postureChecks[].data.operatingSystems[].versions

Array[String]

false

postureChecks[].data.process

Object

false

postureChecks[].data.process.osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

postureChecks[].data.process.path

String

false

postureChecks[].data.process.hashes

Array[String]

true

postureChecks[].data.process.signerFingerprint

String

true

postureChecks[].data.processes

Array[Object]

false

postureChecks[].data.processes[].osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

postureChecks[].data.processes[].path

String

false

postureChecks[].data.processes[].hashes

Array[String]

true

postureChecks[].data.processes[].signerFingerprints

Array[String]

true

postureChecks[].data.semantic

String

true

Must be one of [AllOf, AnyOf].

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkGroupId

String

false

size

String

false

Deprecated..

productVersion

Object

false

region

String

false

Deprecated..

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

browzerEnabled

Boolean

true

o365BreakoutCategory

String

false

Must be one of [OPTIMIZE, OPTIMIZE_ALLOW, OPTIMIZE_ALLOW_DEFAULT, NONE].

networkController

Object

true

Deprecated..

networkController.id

String

false

networkController.ownerIdentityId

String

true

networkController.networkId

String

false

networkController.domainName

String

true

networkController.name

String

false

networkController.hostId

String

false

networkController.status

String

true

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

networkController.createdAt

String

false

networkController.updatedAt

String

false

networkController.deletedAt

String

true

networkController.createdBy

String

true

networkController.deletedBy

String

true

Path Optional Description

self

false

networkControllers

false

edgeRouters

false

edgeRouterPolicies

false

endpoints

false

services

false

appWans

false

certificateAuthorities

false

hosts

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/networks' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJ6RlQ1Q2lENW9DbngwaGZlb010X0RnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjI4MTk4ZmExLWJiMDYtNGQ0NC04YjBmLTBiOWUwYmE3M2EzMyIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYzNywiZXhwIjoxNjYzOTUyMjM3LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjMyMTc5NWNkLWVjYWItNDFmZi1hNDhkLWI5MDgyOGU2OTllYVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYzN31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.hjuKCXVGEih7kEozpPEMiWytCWJKTztMDGxY6H2RxCOsuUST2VYmmr-Q7SOl3liYcBqBXeYdfIzXWQ0i4jOc8S-aYHM6Ws0nb-7RyIURfRt7ZZYVnBkD31xZiJuRslNAXBklb6rn1G6DR0XbwLXKnGf2614M0DNHvwQt4puU9OEvtZUKkBwH9emY-kWCHoRFDfk3FgM6Q9ht2ZiheOiRxp7XAa9eIKrVQscfn5od0hcRULGs2Aa43b433L31gc9x6P9DEGpJUX7KOeI8C2suGChDO1Y2sxBY5HiZDbA85BYEowZN5a_3GvYLES26oGHcE_3q7QmSIc5p5fGYSPRSwg' \
    -d '{"networkGroupId":"4570a6e7-7137-44d2-a085-c439f96b3610","size":"small","name":"Create Test Network","o365BreakoutCategory":"NONE","provider":"AWS","region":"us-east-1","edgeRouters":[],"edgeRouterPolicies":[],"services":[],"certificateAuthorities":[],"endpoints":[],"appWans":[],"postureChecks":[]}'

Example response

HTTP/1.1 202 Accepted
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 3584

{
  "id" : "10ed5753-c807-4d3a-9294-189dd98c89ea",
  "ownerIdentityId" : "28198fa1-bb06-4d44-8b0f-0b9e0ba73a33",
  "createdBy" : "28198fa1-bb06-4d44-8b0f-0b9e0ba73a33",
  "createdAt" : "2022-09-23T15:57:17.548675Z",
  "updatedAt" : "2022-09-23T15:57:17.548675Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "name" : "Create Test Network",
  "networkGroupId" : "4570a6e7-7137-44d2-a085-c439f96b3610",
  "size" : "small",
  "productVersion" : "7.3.43",
  "region" : "us-east-1",
  "status" : "PROVISIONING",
  "o365BreakoutCategory" : "NONE",
  "networkController" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "network-group" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/4570a6e7-7137-44d2-a085-c439f96b3610",
      "profile" : "parent"
    },
    "networks" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks",
      "profile" : "parent"
    },
    "app-wans" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "configs" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/configs?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "endpoints" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "process-executions" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/process-executions?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "edge-router-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "hosts" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/hosts?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "posture-checks" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "config-types" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/config-types?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "edge-routers" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "services" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/services?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "service-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/service-policies?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "executions" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/executions?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "certificate-authorities" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "service-edge-router-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "network-controllers" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    },
    "terminators" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/terminators?networkId=10ed5753-c807-4d3a-9294-189dd98c89ea"
    }
  }
}

Delete Network

DELETE /networks/{id}

Authorization

This endpoint requires delete action on the network resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkGroupId

String

false

size

String

false

Deprecated..

productVersion

Object

false

region

String

false

Deprecated..

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

browzerEnabled

Boolean

true

o365BreakoutCategory

String

false

Must be one of [OPTIMIZE, OPTIMIZE_ALLOW, OPTIMIZE_ALLOW_DEFAULT, NONE].

networkController

Object

true

Deprecated..

networkController.id

String

false

networkController.ownerIdentityId

String

true

networkController.networkId

String

false

networkController.domainName

String

true

networkController.name

String

false

networkController.hostId

String

false

networkController.status

String

true

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

networkController.createdAt

String

false

networkController.updatedAt

String

false

networkController.deletedAt

String

true

networkController.createdBy

String

true

networkController.deletedBy

String

true

Path Optional Description

self

false

networkControllers

false

edgeRouters

false

edgeRouterPolicies

false

endpoints

false

services

false

appWans

false

certificateAuthorities

false

hosts

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/networks/760ec025-0663-4959-82c0-99d401a1e699' -i -X DELETE \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJsZEtqeEJtREQ5WlBjRU9DZFdhTDRRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjQ0YTc3N2IyLTRiZjEtNDQ1ZS1iMDE2LWE3NTBjZWM5YTJkZSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYzOSwiZXhwIjoxNjYzOTUyMjM5LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImY0OTU5NGI0LTlmNjYtNDRhMC1iZmI3LTkwZTgwYTY5ODJiY1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYzOX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.ouNu_MXdjDRfKeEeJo5n9mD_Fxq_pwa6WZPKG4CsSVPSdx9JgzK6K_c_4oYWybJJNrwRZf4I2Mozmh52YLh9LkzKhIQCIgDtdQDtOx1d4LZ5XDYoIkQaAJSaXR-F7n_InES0qGaX4ElyC6FQp1bkQ6XxCgrkPG0F07lPxmRgK1hetMR6hrYGbyDGC8alxsq4aiOwksXBErVqdlF8TDuPybPrOTn8LTEmyztQsI8-IeuCAWmv6zcgrPlrMdFBiPnbj7xr5v0R686RrDQTdyCUAhQunGlchyszIUtcdTJtA5yCqGU1uRYPS0JTK37JbTLNRAELua6I3MNzb_9rShYu2Q'

Example response

HTTP/1.1 202 Accepted
Content-Type: application/hal+json
Content-Length: 3606

{
  "id" : "760ec025-0663-4959-82c0-99d401a1e699",
  "ownerIdentityId" : "02072fc2-e5f1-4f2d-8a6c-bdad915bb766",
  "createdBy" : "02072fc2-e5f1-4f2d-8a6c-bdad915bb766",
  "createdAt" : "2022-09-23T15:57:19.029687Z",
  "updatedAt" : "2022-09-23T15:57:19.075560Z",
  "deletedBy" : "44a777b2-4bf1-445e-b016-a750cec9a2de",
  "deletedAt" : null,
  "name" : "network-203",
  "networkGroupId" : "a826060d-881e-454d-8328-995a307ba345",
  "size" : "small",
  "productVersion" : "7.3.37",
  "region" : "us-east-1",
  "status" : "DELETING",
  "o365BreakoutCategory" : "NONE",
  "networkController" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/760ec025-0663-4959-82c0-99d401a1e699"
    },
    "network-group" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-groups/a826060d-881e-454d-8328-995a307ba345",
      "profile" : "parent"
    },
    "networks" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks",
      "profile" : "parent"
    },
    "app-wans" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "configs" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/configs?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "endpoints" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "process-executions" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/process-executions?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "edge-router-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "hosts" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/hosts?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "posture-checks" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "config-types" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/config-types?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "edge-routers" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "services" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/services?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "service-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/service-policies?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "executions" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/executions?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "certificate-authorities" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "service-edge-router-policies" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "network-controllers" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    },
    "terminators" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/terminators?networkId=760ec025-0663-4959-82c0-99d401a1e699"
    }
  }
}

Network Controllers

Get Network Controller

GET /network-controllers/{id}

Authorization

This endpoint requires read action on the network-controller resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

networkId

String

false

domainName

String

true

name

String

false

hostId

String

false

status

String

true

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

createdAt

String

false

updatedAt

String

false

deletedAt

String

true

createdBy

String

true

deletedBy

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/network-controllers/cb8a5d9d-0169-4b84-bb27-598a6fe376d1' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJIUThCdVNmTXU1dTF6MkNyNTdzVEdnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjhhNDc1ZTZkLTlmZTgtNDI3ZS1hMmM4LWRhZDFmMmFkZDFjNSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcwNCwiZXhwIjoxNjYzOTUyMzA0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImIwNDRjOGRhLTdmM2YtNDhkYi1hODBmLWJhZDgwOGZmZjAzYVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcwNH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.C6OiugxOpL5gIGr_JE1Thyokik88mo2pTFlATQFCfDVw90ed9YYOeiM0MOKHixwlXtXcjg5ykl-Mk7_YEKLGPGRF4srj9M8pCk5h913d25UZyDzEVIzgwCkqn_YkEVfwqAfz47uVO5VdoNalD4dVVbmuHN_jTwhzd0dHeZOM_ny6dePxnLdAitxk3hlMQYie8h7rexh-rRbJYUCy1YMIcm79JQnfNLkQfj4Nnv1b8A1mH7VPqH_vqnJB0yXK6ZIUg8nxFE1j1FQKPaC9ORmTl93SauwfhiYa5ueuCaCxZ1DwoWJ0I6na71mKdk8Tqv0VmyKuZJ5N0DTxFzC2Z3nvVA'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 992

{
  "id" : "cb8a5d9d-0169-4b84-bb27-598a6fe376d1",
  "ownerIdentityId" : "94dc1fde-7853-47b1-9dea-537723e45215",
  "networkId" : "32b6592d-2336-45fb-88e8-bd45d5d6c645",
  "domainName" : "new-domain.nf.io",
  "name" : "networkcontroller-controller-test-nc",
  "hostId" : "a12c4340-d393-4f48-a28f-a091f5d358c9",
  "status" : "PROVISIONED",
  "createdAt" : "2022-09-23T15:58:23.408221Z",
  "updatedAt" : "2022-09-23T15:58:24.297653Z",
  "deletedAt" : null,
  "createdBy" : "94dc1fde-7853-47b1-9dea-537723e45215",
  "deletedBy" : null,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/32b6592d-2336-45fb-88e8-bd45d5d6c645",
      "profile" : "parent"
    },
    "host" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/a12c4340-d393-4f48-a28f-a091f5d358c9"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers/cb8a5d9d-0169-4b84-bb27-598a6fe376d1"
    }
  }
}

Get Network Controller Session

GET /network-controllers/{id}/session

Authorization

This endpoint requires read-platform-protected action on the network-controller resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

sessionToken

String

true

expiresAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/network-controllers/cb8a5d9d-0169-4b84-bb27-598a6fe376d1/session' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiM0s1NEItVXBuS0xoNUtQejhqeEN3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImE0YzQzOTc5LWQxMDctNDI2ZC1iODkxLTdlMzQ4M2UwOGY2YiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcwMywiZXhwIjoxNjYzOTUyMzAzLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImE2MGQ3M2QzLTc1NjktNGY3Yi1hMzc0LWFkYWNiYTdlMjdmZFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcwM31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.ohJzl1EPEQJtGh7-il2c3oIPFPKR7CfLQl65007cIykuKX2wpzqUR9HexWidLvXItlUloHdgpDRsLy4vHrm0XyXRvFJSCMeZMwvYeGl07Ih3UxQn0qIbOkfp2ICwlz8isvQyFfEJziWCm8A2g2NWqKd3hwtou_qDJVbOzDNSEwOnD-0Gm_ns9J0wcIvdr138YgjRcm2CAzQz92_nuEJ6qbeasESh3YxhcS2K-kvosJJKZMqLxKu55zEnof6PPBvjudQ70hmLG3xb1HCxEcx4Cl9iPWm0WSCmr3NGazouC6FrICxsYYSWZF3JhYHuRYbQVX0074m4yBoQEU1mcZfNmg'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 408

{
  "sessionToken" : "--- session ---",
  "expiresAt" : "2022-09-23T15:58:23.627+00:00",
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers/cb8a5d9d-0169-4b84-bb27-598a6fe376d1/session"
    },
    "parent" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers/cb8a5d9d-0169-4b84-bb27-598a6fe376d1"
    }
  }
}

Find Network Controllers

GET /network-controllers

Authorization

This endpoint requires read action on the network-controller resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

isDeleted

Boolean

true

Deprecated..

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

networkId

String

false

domainName

String

true

name

String

false

hostId

String

false

status

String

true

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

createdAt

String

false

updatedAt

String

false

deletedAt

String

true

createdBy

String

true

deletedBy

String

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

networkId

String

false

domainName

String

true

name

String

false

hostId

String

false

status

String

true

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

createdAt

String

false

updatedAt

String

false

deletedAt

String

true

createdBy

String

true

deletedBy

String

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/network-controllers' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJqR05UeURhbjd3N3YtZm9sbXpmZ0lRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImRmZWVhNjVhLTkzYTYtNDljMC1hNDE1LTAzNWU5ZTUzMWM0ZSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYzNCwiZXhwIjoxNjYzOTUyMjM0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjdiYmFjODlhLWE5MzctNDllZS04OTI1LTlmZTU2MDQxODU2ZlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYzNH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.VYTHcaUxqWa18ld4ISPMvp7Mc6SWii1MVl2xbwBtDk8vD_30nA37wCNKmn1sC48yZUFyYY8Ow2Hovj5J-MiAR2cJZXZBQnaEIHXgv4G8L3DvvPp26KJhaIw-62ua6VzdsVHtXIHcg_tEI4HSRTvRO68UYNbDFY8V5yFIVvGVkegGL-NnI_XwN24jL8pwIXr2EkCNoZNtTPypaJceKPvjmT469ovTxfbvJjHVTcdtTFuqUTG4f0FxALgJxzT44Ys3r-Il5w_vdjNUezPgk82GQSC6q3IYE1LHLW99XIb1doWPBKnaRd_UfgahPT53YtpNSyzBTu7HI_5DECGCgmz7NQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2499

{
  "_embedded" : {
    "networkControllerList" : [ {
      "id" : "1b3b5741-396c-44f3-97b0-5d2616c43907",
      "ownerIdentityId" : "0dee0cce-dbd9-4db4-a4c8-89d449cc51aa",
      "networkId" : "b958f7c6-d072-4630-a75a-6a3457371012",
      "domainName" : "uebUQ6teHTK5Pmb21U2yF.fake.com",
      "name" : "NetworkController Find Test 2 - NC",
      "hostId" : "ea02ef6a-5f2f-4acc-9e1f-c9293ff3237d",
      "status" : "PROVISIONING",
      "createdAt" : "2022-09-23T15:57:14.615093Z",
      "updatedAt" : "2022-09-23T15:57:14.615093Z",
      "deletedAt" : null,
      "createdBy" : "0dee0cce-dbd9-4db4-a4c8-89d449cc51aa",
      "deletedBy" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers/1b3b5741-396c-44f3-97b0-5d2616c43907"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/b958f7c6-d072-4630-a75a-6a3457371012",
          "profile" : "parent"
        },
        "host" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/ea02ef6a-5f2f-4acc-9e1f-c9293ff3237d"
        }
      }
    }, {
      "id" : "8f658ed5-0795-41f3-b73a-91ca3dec700d",
      "ownerIdentityId" : "0dee0cce-dbd9-4db4-a4c8-89d449cc51aa",
      "networkId" : "9d68b957-273b-4009-9215-2daa0020dc67",
      "domainName" : "XnhwqCnOX7BucqjO04F_M.fake.com",
      "name" : "NetworkController Find Test 1 - NC",
      "hostId" : "476f1353-e8b2-4860-87a5-6141a06e9f81",
      "status" : "PROVISIONED",
      "createdAt" : "2022-09-23T15:57:14.598824Z",
      "updatedAt" : "2022-09-23T15:57:14.598824Z",
      "deletedAt" : null,
      "createdBy" : "0dee0cce-dbd9-4db4-a4c8-89d449cc51aa",
      "deletedBy" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers/8f658ed5-0795-41f3-b73a-91ca3dec700d"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/9d68b957-273b-4009-9215-2daa0020dc67",
          "profile" : "parent"
        },
        "host" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/476f1353-e8b2-4860-87a5-6141a06e9f81"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/network-controllers"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Endpoints

Find Endpoints

GET /endpoints

Authorization

This endpoint requires read action on the endpoint resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

attributes

Object

true

Deprecated..

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

typeId

String

true

appId

String

true

appVersion

String

true

branch

String

true

revision

String

true

type

String

true

version

String

true

arch

String

true

os

String

true

osRelease

String

true

osVersion

String

true

hasApiSession

Boolean

true

hasEdgeRouterConnection

Boolean

true

lastOnlineAt

String

true

syncId

String

true

syncResourceId

String

true

attributes

Array[String]

false

jwt

String

true

online

Boolean

true

mfaEnabled

Boolean

true

jwtExpiresAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

typeId

String

true

appId

String

true

appVersion

String

true

branch

String

true

revision

String

true

type

String

true

version

String

true

arch

String

true

os

String

true

osRelease

String

true

osVersion

String

true

hasApiSession

Boolean

true

hasEdgeRouterConnection

Boolean

true

lastOnlineAt

String

true

syncId

String

true

syncResourceId

String

true

attributes

Array[String]

false

jwt

String

true

online

Boolean

true

mfaEnabled

Boolean

true

jwtExpiresAt

String

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/endpoints' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJWV3I5YXdEbXFHY2pyUlkxMUxFTUR3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImZmNmM3ZDRmLWVhNzItNDY0MC04ZTRiLTk5NDRiNDVlMmFjMiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY5NCwiZXhwIjoxNjYzOTUyMjk0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjNhNmM1MWI3LTk0ZjMtNDkwNy05NThlLTRmZDM3YTU3ODgyZVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY5NH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.hQLTwT1RXSS9tsFegXmqe3aB3FrN9GCAcCLckHmFB6FqmhAV2DCbB4c--BAh_lmyfZpu4m6lvVPDYN21kDoHx4hyJuaAgwdwT2cyZ7-54tAx8flO2uCmvIe1ha-D2BVf6JR1nlJnVUl-6Ac9NRdj4wPq0VniG_GQKYGzT4o675CLAdmBPUo4hK1LEgvofsr66uyIfmQJgWCL4oFWat1zMyU7EKnLttOuV4rEkUvbUQkw3LGMU1me6JVC1PuklO0UV6Bv1X2yqqiB5kikL7lkt11E1G7CJPy7Ttv1dwN0-dMd3VeE-b-OGE8zXSbZagUIBZk_5ZqMAIjyKqKRJXAM5Q'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 3434

{
  "_embedded" : {
    "endpointList" : [ {
      "id" : "507f0ab8-9456-4532-9dfb-e8f737dadbc0",
      "ownerIdentityId" : "0637929c-8523-4bd8-92a4-c607c8819fe3",
      "createdBy" : "0637929c-8523-4bd8-92a4-c607c8819fe3",
      "createdAt" : "2022-09-23T15:58:14.652590Z",
      "updatedAt" : "2022-09-23T15:58:14.652590Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "2dbf7c33-9f8e-464c-b4bf-9dd17577937c",
      "zitiId" : "ziti-id-513",
      "name" : "iuduS2zW425g2q1swP5u-",
      "typeId" : "type",
      "appId" : "appId",
      "appVersion" : "appVersion",
      "branch" : "branch",
      "revision" : "revision",
      "type" : "User",
      "version" : "version",
      "arch" : "arch",
      "os" : "os",
      "osRelease" : "osRelease",
      "osVersion" : "osVersion",
      "hasApiSession" : false,
      "hasEdgeRouterConnection" : false,
      "lastOnlineAt" : null,
      "syncId" : null,
      "syncResourceId" : null,
      "attributes" : [ ],
      "jwt" : null,
      "online" : false,
      "mfaEnabled" : false,
      "jwtExpiresAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints/507f0ab8-9456-4532-9dfb-e8f737dadbc0"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/2dbf7c33-9f8e-464c-b4bf-9dd17577937c",
          "profile" : "parent"
        },
        "app-data-usages" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-data-usages?endpointId=507f0ab8-9456-4532-9dfb-e8f737dadbc0"
        }
      }
    }, {
      "id" : "a986942e-53e2-4ec9-a2d3-b27da6f58832",
      "ownerIdentityId" : "c0be172f-d002-4559-9753-45a2f85ca323",
      "createdBy" : "c0be172f-d002-4559-9753-45a2f85ca323",
      "createdAt" : "2022-09-23T15:58:14.643312Z",
      "updatedAt" : "2022-09-23T15:58:14.643312Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "2dbf7c33-9f8e-464c-b4bf-9dd17577937c",
      "zitiId" : "ziti-id-506",
      "name" : "endpoint-505",
      "typeId" : "type",
      "appId" : "appId",
      "appVersion" : "appVersion",
      "branch" : "branch",
      "revision" : "revision",
      "type" : "User",
      "version" : "version",
      "arch" : "arch",
      "os" : "os",
      "osRelease" : "osRelease",
      "osVersion" : "osVersion",
      "hasApiSession" : false,
      "hasEdgeRouterConnection" : false,
      "lastOnlineAt" : null,
      "syncId" : null,
      "syncResourceId" : null,
      "attributes" : [ ],
      "jwt" : null,
      "online" : false,
      "mfaEnabled" : false,
      "jwtExpiresAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints/a986942e-53e2-4ec9-a2d3-b27da6f58832"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/2dbf7c33-9f8e-464c-b4bf-9dd17577937c",
          "profile" : "parent"
        },
        "app-data-usages" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-data-usages?endpointId=a986942e-53e2-4ec9-a2d3-b27da6f58832"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Get Endpoint

GET /endpoints/{id}

Authorization

This endpoint requires read action on the endpoint resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

typeId

String

true

appId

String

true

appVersion

String

true

branch

String

true

revision

String

true

type

String

true

version

String

true

arch

String

true

os

String

true

osRelease

String

true

osVersion

String

true

hasApiSession

Boolean

true

hasEdgeRouterConnection

Boolean

true

lastOnlineAt

String

true

syncId

String

true

syncResourceId

String

true

attributes

Array[String]

false

jwt

String

true

online

Boolean

true

mfaEnabled

Boolean

true

jwtExpiresAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/endpoints/366240ee-b6aa-4b51-a4c8-149be37d9eea' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJaT2xZcHc3RmNvVm5mOEhOdWVRTVVBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjQyMjA4ZThkLTI0NzYtNGMxZS04MjA4LTJlOTEyMGM4MmJkNyIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY5NSwiZXhwIjoxNjYzOTUyMjk1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImFhZDkyYTUxLWI3NDAtNGJjMi04ZTQ2LWIzNjdkODExODQ2NVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY5NX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.EfmhaSsjbMn-SVjH-ok4_d0t0jIT6Q1rmUAIP_12X2o67OhTfSgBtIVQqscPWaEeQqqRDabx502jQ9u6vWSlUfn8bv_I7GfvBA8aUaTiEHATGlqg4fYpZ7gyLkXO7vf0TzfKBO5TPKr6EQs4w5jNHlO0hvXql8bNqZOAf_voPzlauqS5gJhOPWAM9sfEHaa0fIbqUcO1Nl4K8Z7T9RSD3qzS6sf1ekVvA_Y0mRZf8SnbPp5pzd4NXStDliWEi8xXJJl_ssvpcTJ1nLK3CVuu9YrqRRjP15hJD-6AeGQL42ZrztgpV5hdB7ee74F9ebV4m1dC7xi3qCaKSqfpNfo92w'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1401

{
  "id" : "366240ee-b6aa-4b51-a4c8-149be37d9eea",
  "ownerIdentityId" : "d39f6ed1-7416-43a0-b091-2e29dbe5fa27",
  "createdBy" : "d39f6ed1-7416-43a0-b091-2e29dbe5fa27",
  "createdAt" : "2022-09-23T15:58:15.464301Z",
  "updatedAt" : "2022-09-23T15:58:15.464301Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "networkId" : "0d9638cf-c126-4276-b59b-47e8ec44cba3",
  "zitiId" : "ziti-id-637",
  "name" : "endpoint-636",
  "typeId" : "type",
  "appId" : "appId",
  "appVersion" : "appVersion",
  "branch" : "branch",
  "revision" : "revision",
  "type" : "User",
  "version" : "version",
  "arch" : "arch",
  "os" : "os",
  "osRelease" : "osRelease",
  "osVersion" : "osVersion",
  "hasApiSession" : false,
  "hasEdgeRouterConnection" : false,
  "lastOnlineAt" : null,
  "syncId" : null,
  "syncResourceId" : null,
  "attributes" : [ ],
  "jwt" : null,
  "online" : false,
  "mfaEnabled" : false,
  "jwtExpiresAt" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints/366240ee-b6aa-4b51-a4c8-149be37d9eea"
    },
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/0d9638cf-c126-4276-b59b-47e8ec44cba3",
      "profile" : "parent"
    },
    "app-data-usages" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-data-usages?endpointId=366240ee-b6aa-4b51-a4c8-149be37d9eea"
    }
  }
}

Find Endpoints

GET /endpoints

Authorization

This endpoint requires read action on the endpoint resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

attributes

Object

true

Deprecated..

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

typeId

String

true

appId

String

true

appVersion

String

true

branch

String

true

revision

String

true

type

String

true

version

String

true

arch

String

true

os

String

true

osRelease

String

true

osVersion

String

true

hasApiSession

Boolean

true

hasEdgeRouterConnection

Boolean

true

lastOnlineAt

String

true

syncId

String

true

syncResourceId

String

true

attributes

Array[String]

false

jwt

String

true

online

Boolean

true

mfaEnabled

Boolean

true

jwtExpiresAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

typeId

String

true

appId

String

true

appVersion

String

true

branch

String

true

revision

String

true

type

String

true

version

String

true

arch

String

true

os

String

true

osRelease

String

true

osVersion

String

true

hasApiSession

Boolean

true

hasEdgeRouterConnection

Boolean

true

lastOnlineAt

String

true

syncId

String

true

syncResourceId

String

true

attributes

Array[String]

false

jwt

String

true

online

Boolean

true

mfaEnabled

Boolean

true

jwtExpiresAt

String

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/endpoints' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJpdlRUSEo5OVd5aW5rUmlJT2NDRkF3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjI2ZGVkNjM2LWQ1ZDAtNDFiMy04YjU4LWVkYWI5YWYyMjZkZiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYyNSwiZXhwIjoxNjYzOTUyMjI1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjdhMTZkMmQ5LWRlZDEtNDczYi04NWFjLWIwMTFjZjg4NmRhY1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYyNX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.dKADHH0GE2v8mjA7d6V8lY-Jg9ckwtdFKc3E27zsJsLzLxiIqESdnT8TIWBCeQ1zPrs-Dg26AqiJ-hfNkSOyRKWaOZCQE_GENmF35NUmcSvv0UlTo8lHnyG26h84grM04poyeD-DiUsNuTJixotEJJZHC7k5EVv53QvsPW1EA8ZL3RjdBfZtnZzCB6je0k68l4fCwCANDszFPnE7nTvxf4wS0FeOvUWgp26HXA0gUBuHDQkuJvZiObno1dlgehLImU76A5lj2nT_GUD8Alhg0pKckLXhu6ht767uNhy2wdRj4Ix42rV_4c5wvEcQnIGsjsVBvzjbfrXTf0oyK9_RJg'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 3573

{
  "_embedded" : {
    "endpointList" : [ {
      "id" : "51819785-d19f-46a7-942a-d1c0acccadbd",
      "ownerIdentityId" : "0536f3a0-ad72-4aaa-9954-131f5c873c9f",
      "createdBy" : "0536f3a0-ad72-4aaa-9954-131f5c873c9f",
      "createdAt" : "2022-09-23T15:57:05.190483Z",
      "updatedAt" : "2022-09-23T15:57:05.190483Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "6a741dcb-a7de-40ef-8797-4ff87924778d",
      "zitiId" : "ziti-id-55",
      "name" : "Test Endpoint 1",
      "typeId" : "type",
      "appId" : "appId",
      "appVersion" : "appVersion",
      "branch" : "branch",
      "revision" : "revision",
      "type" : "User",
      "version" : "version",
      "arch" : "arch",
      "os" : "os",
      "osRelease" : "osRelease",
      "osVersion" : "osVersion",
      "hasApiSession" : false,
      "hasEdgeRouterConnection" : false,
      "lastOnlineAt" : null,
      "syncId" : "a2a73828-912e-415c-80fd-8c7a7781105a",
      "syncResourceId" : "WH0o53YgMElsR6UEaMI2f",
      "attributes" : [ "#attr2", "#attr1" ],
      "jwt" : null,
      "online" : false,
      "mfaEnabled" : false,
      "jwtExpiresAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints/51819785-d19f-46a7-942a-d1c0acccadbd"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/6a741dcb-a7de-40ef-8797-4ff87924778d",
          "profile" : "parent"
        },
        "app-data-usages" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-data-usages?endpointId=51819785-d19f-46a7-942a-d1c0acccadbd"
        }
      }
    }, {
      "id" : "655fd12a-445f-47f9-aee2-f35ee5a741c4",
      "ownerIdentityId" : "0536f3a0-ad72-4aaa-9954-131f5c873c9f",
      "createdBy" : "0536f3a0-ad72-4aaa-9954-131f5c873c9f",
      "createdAt" : "2022-09-23T15:57:05.231116Z",
      "updatedAt" : "2022-09-23T15:57:05.231116Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "6a741dcb-a7de-40ef-8797-4ff87924778d",
      "zitiId" : "ziti-id-57",
      "name" : "Test Endpoint 2",
      "typeId" : "type",
      "appId" : "appId",
      "appVersion" : "appVersion",
      "branch" : "branch",
      "revision" : "revision",
      "type" : "User",
      "version" : "version",
      "arch" : "arch",
      "os" : "os",
      "osRelease" : "osRelease",
      "osVersion" : "osVersion",
      "hasApiSession" : false,
      "hasEdgeRouterConnection" : false,
      "lastOnlineAt" : null,
      "syncId" : "60cffbf9-c412-4946-987d-acbb30a82765",
      "syncResourceId" : "bGXHdqXIi906vrWZbXlyp",
      "attributes" : [ "#attr3", "#attr1" ],
      "jwt" : null,
      "online" : false,
      "mfaEnabled" : false,
      "jwtExpiresAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints/655fd12a-445f-47f9-aee2-f35ee5a741c4"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/6a741dcb-a7de-40ef-8797-4ff87924778d",
          "profile" : "parent"
        },
        "app-data-usages" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-data-usages?endpointId=655fd12a-445f-47f9-aee2-f35ee5a741c4"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Create Endpoint

POST /endpoints

Authorization

This endpoint requires create action on the endpoint resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

name

String

true

io.netfoundry.common.util.validation.ValidAs.

enrollmentMethod

Object

true

enrollmentMethod.ott

Boolean

true

enrollmentMethod.updb

String

true

enrollmentMethod.ottca

String

true

attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

syncId

String

true

syncResourceId

String

true

shareRegistration

Object

true

shareRegistration.id

String

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

shareRegistration.toList

Array[String]

false

shareRegistration.ccList

Array[String]

true

shareRegistration.subject

String

true

shareRegistration.type

String

true

Must be one of [Email].

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

typeId

String

true

appId

String

true

appVersion

String

true

branch

String

true

revision

String

true

type

String

true

version

String

true

arch

String

true

os

String

true

osRelease

String

true

osVersion

String

true

hasApiSession

Boolean

true

hasEdgeRouterConnection

Boolean

true

lastOnlineAt

String

true

syncId

String

true

syncResourceId

String

true

attributes

Array[String]

false

jwt

String

true

online

Boolean

true

mfaEnabled

Boolean

true

jwtExpiresAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/endpoints' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJVSE9ScEE5bGt5NkxKcmo3R3JDWWFnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjkzMjM1Y2MzLTlkYWItNDRlNC1iZTMzLWRiNTNmMzM1ZGE0NSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY5NCwiZXhwIjoxNjYzOTUyMjk0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjlmNjQ5ZmY1LTBlYzctNDdiOC1hMmZhLTRiZGI5OTAzNWE2OVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY5NH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.IOKV5BMXZN2z4Tnp7JCaQnqnc2ux3-og5L6sgspjzBi3JmH7LyGOhH8Fts2wdEl8aFXG9kt8ygyQRDx93TXgIecC-wlwoCPhh8Y1dTGFVki7m0DQDyVmc0bTx2Tgz1WExcOvL0PNDVLo4_PStppDqZ_GNSoi_iBUdVOhuiZB4dFqQMS3ccHj0xRqx-LeQIF4FVf65RTsHqv-SftqQSGoWCGhH2yoTeEaskcMpZ8rU4M4QeBBoxzQ6ojlNvBpRdSwPiGP36amO3-FOGz13b89WxDwsxiDrAT-M94POmHMhSEHyhaNO42rmQM76E5nFvVZEVA_4rMi44EAnzGpK8r4Fw' \
    -d '{"networkId":"38ca1ca6-155b-4b46-9ee6-5940e450f731","name":"Test endpoint 02","enrollmentMethod":{"ott":true,"updb":null,"ottca":null},"attributes":["#clients"],"shareRegistration":{"id":null,"toList":["fake@example.com"],"ccList":null,"subject":"New Endpoint!!","type":null}}'

Example response

HTTP/1.1 202 Accepted
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1391

{
  "id" : "ef15ea19-eb16-4558-8e53-c0cea191eb01",
  "ownerIdentityId" : "93235cc3-9dab-44e4-be33-db53f335da45",
  "createdBy" : "93235cc3-9dab-44e4-be33-db53f335da45",
  "createdAt" : "2022-09-23T15:58:14.992784Z",
  "updatedAt" : "2022-09-23T15:58:14.992784Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "networkId" : "38ca1ca6-155b-4b46-9ee6-5940e450f731",
  "zitiId" : null,
  "name" : "Test endpoint 02",
  "typeId" : null,
  "appId" : null,
  "appVersion" : null,
  "branch" : null,
  "revision" : null,
  "type" : null,
  "version" : null,
  "arch" : null,
  "os" : null,
  "osRelease" : null,
  "osVersion" : null,
  "hasApiSession" : false,
  "hasEdgeRouterConnection" : false,
  "lastOnlineAt" : null,
  "syncId" : null,
  "syncResourceId" : null,
  "attributes" : [ "#clients" ],
  "jwt" : "jwthere",
  "online" : false,
  "mfaEnabled" : false,
  "jwtExpiresAt" : "2022-09-23T15:58:14.979044Z",
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints/ef15ea19-eb16-4558-8e53-c0cea191eb01"
    },
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/38ca1ca6-155b-4b46-9ee6-5940e450f731",
      "profile" : "parent"
    },
    "app-data-usages" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-data-usages?endpointId=ef15ea19-eb16-4558-8e53-c0cea191eb01"
    }
  }
}

Patch Endpoint

PATCH /endpoints/{id}

Authorization

This endpoint requires update action on the endpoint resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

typeId

String

true

appId

String

true

appVersion

String

true

branch

String

true

revision

String

true

type

String

true

version

String

true

arch

String

true

os

String

true

osRelease

String

true

osVersion

String

true

hasApiSession

Boolean

true

hasEdgeRouterConnection

Boolean

true

lastOnlineAt

String

true

syncId

String

true

syncResourceId

String

true

attributes

Array[String]

false

jwt

String

true

online

Boolean

true

mfaEnabled

Boolean

true

jwtExpiresAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/endpoints/e843c742-2612-42a1-b1c1-884d88910542' -i -X PATCH \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJoM05BS1pVRXBPTkw5eWZGMHlVLTZ3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjliOWFhNzI4LTFmN2MtNDQ2MS1hYzM1LTQ1MzM4OGYzZmYyYyIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY5NSwiZXhwIjoxNjYzOTUyMjk1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImI0YWQ3NTM4LTNmZDAtNDgwZC1hZjY0LTBmZmM4ZDJjZmQ4MVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY5NX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.YvkkCqxJbW09MHzpMDHXlLrYLlWdnxAkoRURr6-c2c4cK7YM-UJKQ4pbTuLuQ3GlUfHDKyi7JfdebmmnLhtWjNIrC8jV1hqbdiNs5g10SNIfcZAb3_I7ZK4G4Ro1PB37ZaUkOdwUlKm4OwEEPfhzMYerklsWYmT5p7W-jPJ_QRwLP8jaRcFRaIhNjxZFIjxx_gevzwFaxhJdu5l8iABNqllX2FpseI-5oMVogAXA67ViYQJCgj-D6prDJrDIVubfHY3VcX50rHy1JVHt5HuQevWCiEZLWmHe7wsEIa3OMtUC3xl8KsHZCUmyO-tLv50242HsqAnMsxbbWjHq391vrw' \
    -d '{"name":"Test endpoint 02 updated"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1250

{
  "id" : "e843c742-2612-42a1-b1c1-884d88910542",
  "ownerIdentityId" : "d32f12dc-6a3c-482c-8e21-c60f6ba297db",
  "createdBy" : "d32f12dc-6a3c-482c-8e21-c60f6ba297db",
  "createdAt" : "2022-09-23T15:58:15.368421Z",
  "updatedAt" : "2022-09-23T15:58:15.405316Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "networkId" : "cdd04444-170e-41a8-b3a9-df6131910d8b",
  "zitiId" : "ziti-id-619",
  "name" : "Test endpoint 02 updated",
  "typeId" : "type",
  "appId" : "appId",
  "appVersion" : "appVersion",
  "branch" : "branch",
  "revision" : "revision",
  "type" : "User",
  "version" : "version",
  "arch" : "arch",
  "os" : "os",
  "osRelease" : "osRelease",
  "osVersion" : "osVersion",
  "hasApiSession" : false,
  "hasEdgeRouterConnection" : false,
  "lastOnlineAt" : null,
  "syncId" : null,
  "syncResourceId" : null,
  "attributes" : [ ],
  "jwt" : null,
  "online" : false,
  "mfaEnabled" : false,
  "jwtExpiresAt" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/endpoints/e843c742-2612-42a1-b1c1-884d88910542"
    },
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/cdd04444-170e-41a8-b3a9-df6131910d8b",
      "profile" : "parent"
    }
  }
}

Delete Endpoint

DELETE /endpoints/{id}

Authorization

This endpoint requires delete action on the endpoint resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/endpoints/ef703634-6637-4a80-8762-17717a988daa' -i -X DELETE \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJtYTYzZ2w4ak1RQW44eC1OQ3FRUmtRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjhlYjU3YjljLTU0ODAtNGEyZS1iYmI2LWFjNmRlYzYwZWRlYSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY5NSwiZXhwIjoxNjYzOTUyMjk1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjM2ZWQ2OWZkLTMxODMtNDY1NS1hMzlkLWQzYmYyZWQyOGZjOVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY5NX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.R0k1nodKyPqreLhSYxIRxvKWAQhQaLLMM3bBwDUfB_y4N2O1nnfEwsVWX6EHnFvbFWedwe-eb1FLnCCz0kqQtmdOrVUS1Y-cWdfpFZURT5A5E2BXQ6sauPrCLj75o6wcwo3y4K6Two9Bx3GPUL1iEpAkqiyl6S9INV0rO5lTy3ws0tgthAhY_8XEaskUjkWo9U1yKI_4avKGtieFv4LLL95qv205ViSOPzRkZ4b1l6OP2KAecDj5BIAeTRC7L6Fu0RhHcs57GVB0hWCAAQLtdJn6dfqPH6d8WNNNwVgNu0Cpvs-1mTD4zqSn_4iCPQkzaMmL4lESW8tEdyTnA2J7Lw'

Example response

HTTP/1.1 200 OK

Edge Routers

Find Edge Routers

GET /edge-routers

Authorization

This endpoint requires read action on the edge-router resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

attributes

Object

true

Deprecated..

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

hostId

String

true

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

zitiId

String

false

domainName

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

productVersion

Object

true

networkId

String

false

jwt

String

true

linkListener

Boolean

true

wssListener

Boolean

true

tunnelerEnabled

Boolean

true

noTraversal

Boolean

true

online

Boolean

true

verified

Boolean

true

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

provider

String

true

Deprecated..

Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

region

String

true

Deprecated..

hostSize

String

true

Deprecated..

attributes

Array[String]

false

registration

Object

true

registration.id

String

false

registration.networkId

String

false

registration.edgeRouterId

String

false

registration.registrationAttempts

Integer

true

registration.expiresAt

String

false

registration.issuedAt

String

false

registration.usedAt

String

true

registration.createdAt

String

false

registration.createdBy

String

false

registration.updatedAt

String

false

registration.deletedAt

String

true

registration.deletedBy

String

false

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

hostId

String

true

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

zitiId

String

false

domainName

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

productVersion

Object

true

networkId

String

false

jwt

String

true

linkListener

Boolean

true

wssListener

Boolean

true

tunnelerEnabled

Boolean

true

noTraversal

Boolean

true

online

Boolean

true

verified

Boolean

true

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

provider

String

true

Deprecated..

Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

region

String

true

Deprecated..

hostSize

String

true

Deprecated..

attributes

Array[String]

false

registration

Object

true

registration.id

String

false

registration.networkId

String

false

registration.edgeRouterId

String

false

registration.registrationAttempts

Integer

true

registration.expiresAt

String

false

registration.issuedAt

String

false

registration.usedAt

String

true

registration.createdAt

String

false

registration.createdBy

String

false

registration.updatedAt

String

false

registration.deletedAt

String

true

registration.deletedBy

String

false

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-routers' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiMzFiZ0J2eHBDUmhHaW5iZksyU0t3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImQzNTU3ZmE2LThmZDgtNDg4NC1iZDBmLWI4MWY5N2ExMjhlMiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczNSwiZXhwIjoxNjYzOTUyMzM1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjUwMjEzN2JmLTYzOTQtNGM4Mi05NTMwLTMxMmVkZTg0YWQ3OVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczNX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.NCb2fAJrOdjZiGAegI_AzPpiMp7WADPMAY0YdvIMVM82NF1RZrjxKfzYRIQnqF1lxgXK_O-taQeNl-N5IPit1TfRvCqev9bIFqMCYDq3sm1h-_RUrT5Bbb4-mwNE_Qi6M4VWw720H_PfxosxXS1JMVouAlnLgj5hHx1H47McPfOWiljrUUYhD_WPe1_pnVRrRNcL-M2KthNxeOqPg7z1r6Cn_0eKW0d6h7cLD3mUACtIHiGp_LTNehkWdtJ621ZiBxL5XnV5r9jvOUYtkaS7wjOsnkwoze_VPtydm0kwUh9BGgGF4bv-3JVsvb6RJ7jQ9L218-_Xv7mFvogtvPe_6w'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 4527

{
  "_embedded" : {
    "edgeRouterList" : [ {
      "id" : "088b9cf2-cbd5-4131-a0c1-7505361b9bc9",
      "hostId" : "ca7f1b48-72f5-454f-9321-b8dbe3478caa",
      "ownerIdentityId" : "b39320a6-69b5-40a9-a2f9-4dc34f33a245",
      "createdBy" : "b39320a6-69b5-40a9-a2f9-4dc34f33a245",
      "createdAt" : "2022-09-23T15:58:53.204570Z",
      "updatedAt" : "2022-09-23T15:58:53.204570Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "zitiId" : "ziti-id-1111",
      "domainName" : null,
      "name" : "er-test-1110",
      "productVersion" : "7.3.36",
      "networkId" : "32f2e26e-3d45-4a7d-9dbb-82dca3d99202",
      "jwt" : "fake-jwt",
      "linkListener" : true,
      "tunnelerEnabled" : true,
      "noTraversal" : false,
      "online" : false,
      "verified" : false,
      "status" : "PROVISIONED",
      "provider" : "AWS",
      "region" : "us-east-1",
      "hostSize" : "small",
      "attributes" : [ ],
      "registration" : null,
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/32f2e26e-3d45-4a7d-9dbb-82dca3d99202",
          "profile" : "parent"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers/088b9cf2-cbd5-4131-a0c1-7505361b9bc9"
        },
        "host" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/ca7f1b48-72f5-454f-9321-b8dbe3478caa"
        }
      }
    }, {
      "id" : "0b0efa32-6313-438a-a0d1-75c1f22a287e",
      "hostId" : "79b170fe-e05b-4524-8e89-039f2efb03d2",
      "ownerIdentityId" : "dc6b7e8f-9995-4cd7-8baa-a91dcadbd6bd",
      "createdBy" : "dc6b7e8f-9995-4cd7-8baa-a91dcadbd6bd",
      "createdAt" : "2022-09-23T15:58:55.118763Z",
      "updatedAt" : "2022-09-23T15:58:55.150519Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "zitiId" : "ziti-id-1464",
      "domainName" : null,
      "name" : "er-test-1463",
      "productVersion" : "7.3.36",
      "networkId" : "9cb2268c-bda7-4f22-8922-fb09c629c447",
      "jwt" : null,
      "linkListener" : true,
      "tunnelerEnabled" : true,
      "noTraversal" : false,
      "online" : false,
      "verified" : true,
      "status" : "PROVISIONED",
      "provider" : "AWS",
      "region" : "us-east-1",
      "hostSize" : "medium",
      "attributes" : [ ],
      "registration" : null,
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/9cb2268c-bda7-4f22-8922-fb09c629c447",
          "profile" : "parent"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers/0b0efa32-6313-438a-a0d1-75c1f22a287e"
        },
        "host" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/79b170fe-e05b-4524-8e89-039f2efb03d2"
        }
      }
    }, {
      "id" : "0b47cb54-9fe6-4156-bea1-dd20f2ea75c0",
      "hostId" : "077d661b-6a78-4f19-a597-159944ea6eb4",
      "ownerIdentityId" : "ed6bd4ee-85f4-4955-8cf5-1369d363faa6",
      "createdBy" : "ed6bd4ee-85f4-4955-8cf5-1369d363faa6",
      "createdAt" : "2022-09-23T15:58:55.016356Z",
      "updatedAt" : "2022-09-23T15:58:55.016356Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "zitiId" : "ziti-id-1447",
      "domainName" : null,
      "name" : "er-test-1446",
      "productVersion" : "7.3.36",
      "networkId" : "e54d4eae-3f4d-474c-9dee-f35811b9b939",
      "jwt" : null,
      "linkListener" : true,
      "tunnelerEnabled" : true,
      "noTraversal" : false,
      "online" : false,
      "verified" : true,
      "status" : "PROVISIONED",
      "provider" : "AWS",
      "region" : "us-east-1",
      "hostSize" : "small",
      "attributes" : [ ],
      "registration" : null,
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/e54d4eae-3f4d-474c-9dee-f35811b9b939",
          "profile" : "parent"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers/0b47cb54-9fe6-4156-bea1-dd20f2ea75c0"
        },
        "host" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/077d661b-6a78-4f19-a597-159944ea6eb4"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 110,
    "totalPages" : 1,
    "number" : 0
  }
}

Get Edge Router

GET /edge-routers/{id}

Authorization

This endpoint requires read action on the edge-router resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

hostId

String

true

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

zitiId

String

false

domainName

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

productVersion

Object

true

networkId

String

false

jwt

String

true

linkListener

Boolean

true

wssListener

Boolean

true

tunnelerEnabled

Boolean

true

noTraversal

Boolean

true

online

Boolean

true

verified

Boolean

true

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

provider

String

true

Deprecated..

Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

region

String

true

Deprecated..

hostSize

String

true

Deprecated..

attributes

Array[String]

false

registration

Object

true

registration.id

String

false

registration.networkId

String

false

registration.edgeRouterId

String

false

registration.registrationAttempts

Integer

true

registration.expiresAt

String

false

registration.issuedAt

String

false

registration.usedAt

String

true

registration.createdAt

String

false

registration.createdBy

String

false

registration.updatedAt

String

false

registration.deletedAt

String

true

registration.deletedBy

String

false

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-routers/8cdd9fb4-655e-4ce1-b867-f5a25940fc66' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJlbm1oMjNGSmhQcXFFRklKR1VMQm1nIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjQzMTJkYjM5LWM2YzYtNGQzNy04ZjI5LTc2MjA4N2JmMGU4NiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczNiwiZXhwIjoxNjYzOTUyMzM2LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjY4Y2I3YWZjLWEwM2YtNDU2MC04MzE2LTg4Zjk4Y2NiZDYwMVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczNn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.S0Vn1eLyjFpvevE1E-pU2vVk4frPyaUsxJCrLvac6OIam6ZWQ2WT3x6oxhAzWSVtIVPCrj5Lug-XW6adqoolqIglYR_Q2qjz-OnH00F78wwQp_d4paXDlFouwPLnPu5_KYf9o9YXsMK2AgpbmLpH4bsDyz-KkgXGIzbAruwuVN6t502nAUkx172av0ZRDaJ2C3gDYHvcyCDMtqwmvjXve3UhjCutl5ADL-3KMYvJLHj_aPl4F5sT4W2zgD135Ou0q-h-ugCUXSNWMbX0mBqPhsBZ0uDe4WIUt2BNJyWSkU69qKI2GJdS27Utj_Cuw67KQ8aKvff_JPfa4Hf1OWzeJQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 1261

{
  "id" : "8cdd9fb4-655e-4ce1-b867-f5a25940fc66",
  "hostId" : "0b0d706f-3c50-4cd1-b058-5611db7ffe73",
  "ownerIdentityId" : "f34d615a-1d20-4b5a-bb03-3b745d1764ab",
  "createdBy" : "f34d615a-1d20-4b5a-bb03-3b745d1764ab",
  "createdAt" : "2022-09-23T15:58:56.206834Z",
  "updatedAt" : "2022-09-23T15:58:56.206834Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "zitiId" : "ziti-id-1583",
  "domainName" : null,
  "name" : "er-test-1582",
  "productVersion" : "7.3.36",
  "networkId" : "bf3817e3-7cee-4f78-8e29-80ac7d0cae6f",
  "jwt" : null,
  "linkListener" : true,
  "tunnelerEnabled" : true,
  "noTraversal" : false,
  "online" : false,
  "verified" : true,
  "status" : "PROVISIONED",
  "provider" : "AWS",
  "region" : "us-east-1",
  "hostSize" : "small",
  "attributes" : [ ],
  "registration" : null,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/bf3817e3-7cee-4f78-8e29-80ac7d0cae6f",
      "profile" : "parent"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers/8cdd9fb4-655e-4ce1-b867-f5a25940fc66"
    },
    "host" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/0b0d706f-3c50-4cd1-b058-5611db7ffe73"
    }
  }
}

Create Edge Router

POST /edge-routers

Authorization

This endpoint requires create action on the edge-router resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

dataCenterId

String

true

Deprecated..

provider

String

true

io.netfoundry.common.util.validation.ValidAs.
Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

region

String

true

io.netfoundry.common.util.validation.ValidAs.

hostSize

String

true

io.netfoundry.common.util.validation.ValidAs.

linkListener

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

wssListener

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

tunnelerEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

noTraversal

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

hostId

String

true

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

zitiId

String

false

domainName

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

productVersion

Object

true

networkId

String

false

jwt

String

true

linkListener

Boolean

true

wssListener

Boolean

true

tunnelerEnabled

Boolean

true

noTraversal

Boolean

true

online

Boolean

true

verified

Boolean

true

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

provider

String

true

Deprecated..

Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

region

String

true

Deprecated..

hostSize

String

true

Deprecated..

attributes

Array[String]

false

registration

Object

true

registration.id

String

false

registration.networkId

String

false

registration.edgeRouterId

String

false

registration.registrationAttempts

Integer

true

registration.expiresAt

String

false

registration.issuedAt

String

false

registration.usedAt

String

true

registration.createdAt

String

false

registration.createdBy

String

false

registration.updatedAt

String

false

registration.deletedAt

String

true

registration.deletedBy

String

false

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-routers/' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJNYlFkTExxWmY2ekhzSndqc1NKS2tnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjE3NmY0N2RhLTNkMzUtNGE3MC04MjY5LTMzZTc5NzdmODUxYiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczNCwiZXhwIjoxNjYzOTUyMzM0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjg5MzVhMDA3LWI0YmQtNGU0OS1hMjE0LTlkMDk0ZjNhY2M5M1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczNH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.n65hmFfiPqpf7O6w1XI1CnC1Pi5ParyhQbFtJljELnHGEI87L5TiB3ULsaLCvi974W_-c2jRpx8TETegzv1XVRwqifH8PoUIN-SxCCJF_DxMpibArvP4M4NMDIL_Uet7hUn0tO7XPGum9GtnaYaMj889yBaOEGTHP4bO2MA2BmKGzbjiGDzSWFajdMn_uHGksHPKhWIN-94IAkgZtk5v89A_TrazZPkql2qJ4NiXPkHWiwKi-ZRBHrNqNrzTaZYEgMR3KoHprAKE9b9-PkTPlt2bJ9kZ6tgi6_7j-H-1qHmdkJndqCGkeecJKT8lYxQhOz4xvSclBGKWU9PLUwG6YQ' \
    -d '{"name":"Test edge router 1663948734","networkId":"3ca6a1ad-3f0c-44d6-98e8-b756451f1738","provider":"AWS","region":"us-east-1","attributes":[]}'

Example response

HTTP/1.1 202 Accepted
X-NF-deprecated-property: dataCenterId; removal 1/1/2023; see https://gateway.production.netfoundry.io/core/v2/docs/index.html#resources-edge-routers-get-edge-routers
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1085

{
  "id" : "31c07476-e97a-4830-b0b6-c75773f2f3b7",
  "hostId" : null,
  "ownerIdentityId" : "176f47da-3d35-4a70-8269-33e7977f851b",
  "createdBy" : "176f47da-3d35-4a70-8269-33e7977f851b",
  "createdAt" : "2022-09-23T15:58:54.548216Z",
  "updatedAt" : "2022-09-23T15:58:54.548216Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "zitiId" : null,
  "domainName" : null,
  "name" : "Test edge router 1663948734",
  "productVersion" : "7.3.36",
  "networkId" : "3ca6a1ad-3f0c-44d6-98e8-b756451f1738",
  "jwt" : null,
  "linkListener" : false,
  "tunnelerEnabled" : false,
  "noTraversal" : false,
  "online" : false,
  "verified" : false,
  "status" : "NEW",
  "provider" : null,
  "region" : null,
  "hostSize" : null,
  "attributes" : [ ],
  "registration" : null,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/3ca6a1ad-3f0c-44d6-98e8-b756451f1738",
      "profile" : "parent"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers/31c07476-e97a-4830-b0b6-c75773f2f3b7"
    }
  }
}

Update Edge Router

PATCH /edge-routers/{id}

Authorization

This endpoint requires update action on the edge-router resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

noTraversal

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

hostId

String

true

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

zitiId

String

false

domainName

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

productVersion

Object

true

networkId

String

false

jwt

String

true

linkListener

Boolean

true

wssListener

Boolean

true

tunnelerEnabled

Boolean

true

noTraversal

Boolean

true

online

Boolean

true

verified

Boolean

true

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

provider

String

true

Deprecated..

Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

region

String

true

Deprecated..

hostSize

String

true

Deprecated..

attributes

Array[String]

false

registration

Object

true

registration.id

String

false

registration.networkId

String

false

registration.edgeRouterId

String

false

registration.registrationAttempts

Integer

true

registration.expiresAt

String

false

registration.issuedAt

String

false

registration.usedAt

String

true

registration.createdAt

String

false

registration.createdBy

String

false

registration.updatedAt

String

false

registration.deletedAt

String

true

registration.deletedBy

String

false

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-routers/fead8597-32ef-4ba2-b97c-e14154cf55b3' -i -X PATCH \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI4RlpILWstWEFQeDhHX2ZmaGxBTnNRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjkxZmY2ZDRmLTljZmYtNGUwMi1hOWIzLTcxMDEyZTJmNmQ2ZSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczNiwiZXhwIjoxNjYzOTUyMzM2LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImUwNGRkZWZlLTQ1MjMtNDA3MS04YzVjLWJhMzllMGYxMGI5MFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczNn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.E4LwPzEZqj-faYi3Djzj5WNK7PDmEVQ3oWI9-dSQdUb-Ppg0jgSnkn0451OiTMQZDh1AQH5h9fgSKUdyKOpu0qr5Dt1iDBwXblaoPCKcTtP0nUykW2O7OWyTtRAMDqdmGTz4tJOeFYGnNELa51chSoGl1rKG2JWDrHAvYiif91qWgJwo3HrPwepTolJe8aFjvrJyWcMDaQB5ax7rLVIf5TzEXEWw5jkH5xWrq4_8IdQvgrJct4U-Zk01locnSl2yO3BYGRgSgX4FBK5-Vrb0aTMNhB0tXdNEFXsi2oJi_KjDxKZZ7gVOySQDC9olzkYgda-cnP51n1gRyzyG8pbuww' \
    -d '{"name":"Updated name"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1261

{
  "id" : "fead8597-32ef-4ba2-b97c-e14154cf55b3",
  "hostId" : "d2b7b4d6-d361-4db0-af0a-c997a48a01ce",
  "ownerIdentityId" : "bc2ae2ec-5aea-495d-9e20-de4892613988",
  "createdBy" : "bc2ae2ec-5aea-495d-9e20-de4892613988",
  "createdAt" : "2022-09-23T15:58:56.124889Z",
  "updatedAt" : "2022-09-23T15:58:56.140429Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "zitiId" : "ziti-id-1566",
  "domainName" : null,
  "name" : "Updated name",
  "productVersion" : "7.3.36",
  "networkId" : "0ec91a37-f369-4149-a9b3-795fb9614b7f",
  "jwt" : null,
  "linkListener" : true,
  "tunnelerEnabled" : true,
  "noTraversal" : false,
  "online" : false,
  "verified" : true,
  "status" : "PROVISIONED",
  "provider" : "AWS",
  "region" : "us-east-1",
  "hostSize" : "small",
  "attributes" : [ ],
  "registration" : null,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/0ec91a37-f369-4149-a9b3-795fb9614b7f",
      "profile" : "parent"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers/fead8597-32ef-4ba2-b97c-e14154cf55b3"
    },
    "host" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/d2b7b4d6-d361-4db0-af0a-c997a48a01ce"
    }
  }
}

Delete Edge Router

DELETE /edge-routers/{id}

Authorization

This endpoint requires delete action on the edge-router resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

hostId

String

true

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

zitiId

String

false

domainName

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

productVersion

Object

true

networkId

String

false

jwt

String

true

linkListener

Boolean

true

wssListener

Boolean

true

tunnelerEnabled

Boolean

true

noTraversal

Boolean

true

online

Boolean

true

verified

Boolean

true

status

String

false

Must be one of [NEW, PROVISIONING, PROVISIONED, ERROR, UPDATING, SUSPENDED, REPLACING, DELETING, DELETED].

provider

String

true

Deprecated..

Must be one of [AWS, AZURE, GCP, ALICLOUD, NETFOUNDRY, OCI, OCP, CUSTOMER].

region

String

true

Deprecated..

hostSize

String

true

Deprecated..

attributes

Array[String]

false

registration

Object

true

registration.id

String

false

registration.networkId

String

false

registration.edgeRouterId

String

false

registration.registrationAttempts

Integer

true

registration.expiresAt

String

false

registration.issuedAt

String

false

registration.usedAt

String

true

registration.createdAt

String

false

registration.createdBy

String

false

registration.updatedAt

String

false

registration.deletedAt

String

true

registration.deletedBy

String

false

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-routers/3b57fcea-1137-4a99-8827-5b41baab1c8c' -i -X DELETE \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3MFRCYW5xMUVpekF4V2U4N3B5Qmh3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjY5MjBmMWNlLWEyYWUtNDY4Ni1hMjUwLWY2Y2MyNWNiYWZlYyIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczNSwiZXhwIjoxNjYzOTUyMzM1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImRjNTgzYTQ3LWM5OGMtNGFmYy04Zjk3LTE2ODI1ZWEzOGFiOVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczNX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.I3Kv92LBlNh5a_k6G_qImo0vAtoRqqTXIk_2VgoC799donA4PPN0rs8G2YqcG22BaKiAPNrncTkUQ-WBPTOnzeOdsX7OUcNTo1z0-GQDNV_Pka9_fQb24JyGTdnr8Engvs-5RSi77wFgkVxhPazX5RdFzaAhEoENw5CyIgVYfFNkVCKVwHaiE1qYNZSpSF4riERXK5U5ThaCvkuuM1LsAV8kuCJWM803BmtBvBzbVb1SWKGRbes-CI8tLrKlsjSVCOsxGcC9srOyCeVjzXidArI1PmEi83khPyKZ9veDQaBai5OO5aW3nIy9cE1pfp0WDCbmm2X-4p__V7q4HIv-Qw'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1292

{
  "id" : "3b57fcea-1137-4a99-8827-5b41baab1c8c",
  "hostId" : "277c2a50-6594-4cc3-9905-484e7a22fbcd",
  "ownerIdentityId" : "68aa3609-594d-48fb-88ab-9f07719bd72d",
  "createdBy" : "68aa3609-594d-48fb-88ab-9f07719bd72d",
  "createdAt" : "2022-09-23T15:58:55.017430Z",
  "updatedAt" : "2022-09-23T15:58:55.037357Z",
  "deletedBy" : "6920f1ce-a2ae-4686-a250-f6cc25cbafec",
  "deletedAt" : null,
  "zitiId" : "ziti-id-1450",
  "domainName" : null,
  "name" : "er-test-1449",
  "productVersion" : "7.3.36",
  "networkId" : "e54d4eae-3f4d-474c-9dee-f35811b9b939",
  "jwt" : null,
  "linkListener" : true,
  "tunnelerEnabled" : true,
  "noTraversal" : false,
  "online" : false,
  "verified" : true,
  "status" : "DELETING",
  "provider" : "AWS",
  "region" : "us-east-1",
  "hostSize" : "small",
  "attributes" : [ ],
  "registration" : null,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/e54d4eae-3f4d-474c-9dee-f35811b9b939",
      "profile" : "parent"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-routers/3b57fcea-1137-4a99-8827-5b41baab1c8c"
    },
    "host" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/hosts/277c2a50-6594-4cc3-9905-484e7a22fbcd"
    }
  }
}

Edge Router Policies

Find Edge Router Policies

GET /edge-router-policies

Authorization

This endpoint requires read action on the edge-router-policy resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

isSystem

Boolean

false

semantic

String

false

Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

true

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

isSystem

Boolean

false

semantic

String

false

Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

true

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-router-policies' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJPWVg4a2h1c20zcEhCZDk5V3MwcEtRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjhjNDA5MjVhLTM4OTUtNDNjNi04ZWIxLWQzNzUzMjc2NmQ1ZSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYxMSwiZXhwIjoxNjYzOTUyMjExLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjEyOGYzOTg2LTMzNDktNGY1Ni1hMjViLWQyYTdjM2IxMmZkNlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYxMX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.DCzJuUnaW9lMvqDpjOHP1gAYir-IaPDINK8due5NI06xDvoxLU4AcmEbRqF-uXBKeTrow6u2kUSPhVMINGZbK346TtIaRDlKMIQWqI9pu32Uhfg9NsC1bCKwIu6wfk7lXs24WTXha0_MD7psVqnlfqBwzMjYSPudbqlKEB7s8_GsXht9kYL2cb9EXXGJJz_vsdvEdIhvTwFwxKgqym9q4hQjyz5zlxr_Y797aCBlY7oxquXqQMWo2xUA2hynGEuuCjcUiZ21hlfqabTUr8ty3pM1S0MVwVVGcMpo4a-IhgAIX6bF0BgR0w5-fPka_QOKkir_xWCKo-7Ql_MtmgbxfQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 1304

{
  "_embedded" : {
    "edgeRouterPolicyList" : [ {
      "id" : "0897d2ef-0ce7-4518-a3c8-f00be757cbae",
      "networkId" : "43d55766-548c-4522-af41-fb195fcee422",
      "zitiId" : "afa91a0e-ed2c-41a2-a823-2ae7ca8c941b",
      "name" : "2GN8RQ6cLcGGFmsdKBSLJ",
      "isSystem" : false,
      "semantic" : "AnyOf",
      "endpointAttributes" : [ ],
      "edgeRouterAttributes" : [ ],
      "exclusiveType" : null,
      "ownerIdentityId" : "4c4205c9-b2de-4d73-b357-68ec4e704e7f",
      "createdBy" : "4c4205c9-b2de-4d73-b357-68ec4e704e7f",
      "createdAt" : "2022-09-23T15:56:51.357035Z",
      "updatedAt" : "2022-09-23T15:56:51.357035Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies/0897d2ef-0ce7-4518-a3c8-f00be757cbae"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/43d55766-548c-4522-af41-fb195fcee422",
          "profile" : "parent"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 1,
    "totalPages" : 1,
    "number" : 0
  }
}

Get Edge Router Policy

GET /edge-router-policies/{id}

Authorization

This endpoint requires read action on the edge-router-policy resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

isSystem

Boolean

false

semantic

String

false

Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

true

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-router-policies/4a167155-feef-48b2-991c-1d5ad65d0a42' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI5UFlIWkdFWG9QTHhXSHowRFM5MzZ3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjUyZjljM2FmLTJjNWItNDFkOC05N2Y3LWQyNTgxNTY2MDM5NCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYxMiwiZXhwIjoxNjYzOTUyMjEyLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjAxYWRlZWI0LWI3NjUtNDJjZi04YWMwLWI2ZjU5OGJjODQxNFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYxMn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.Z3UlSUYbqBCrBaFiqFd0EgOZzsonkY9ozmS_wUdmm5DbMtOToLp48IWnxIwAaCG50E0Aac8cqPQNGQ59muizyDAGyNJDiXzQ3kyC_HKNC62QIgFZBKMX2P8vRJJ2x_TKUOP2O2CuRKniz5d5EUVOD0svvbV0W144L0qUoHehQivPgZHEetM7dP677zcmIw5bPydk-lUc7th6e7On5pzrmvDUldcIzdVIkSCA7YfDQxRPmNT_Mt87I37PCFG5VfxUeUqcbYmY0_ppK78VjyU4pgZof1Hv8VioELoLHwTfFH1kcVJKRN99WQW-Ddo9a55yKFK0BqYQqCpvMBVwnJoPRg'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 902

{
  "id" : "4a167155-feef-48b2-991c-1d5ad65d0a42",
  "networkId" : "5658ce9e-9ed5-4228-888f-c769f3d4c0e1",
  "zitiId" : "1c1d1c63-3b31-4d38-825f-b064f9648c99",
  "name" : "erp-111",
  "isSystem" : false,
  "semantic" : "AnyOf",
  "endpointAttributes" : [ ],
  "edgeRouterAttributes" : [ ],
  "exclusiveType" : null,
  "ownerIdentityId" : "8924c209-467d-4b20-8bfc-3efe340997f6",
  "createdBy" : "8924c209-467d-4b20-8bfc-3efe340997f6",
  "createdAt" : "2022-09-23T15:56:52.047937Z",
  "updatedAt" : "2022-09-23T15:56:52.047937Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies/4a167155-feef-48b2-991c-1d5ad65d0a42"
    },
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/5658ce9e-9ed5-4228-888f-c769f3d4c0e1",
      "profile" : "parent"
    }
  }
}

Create Edge Router Policy

POST /edge-router-policies

Authorization

This endpoint requires create action on the edge-router-policy resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

false

io.netfoundry.common.util.validation.ValidAs.

networkId

String

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

semantic

String

false

io.netfoundry.common.util.validation.ValidAs.
Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouterAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

isSystem

Boolean

false

semantic

String

false

Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

true

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-router-policies' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI4enBiRzdGOXQ5Y2MtUmpsQUNURG9nIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjQwYjQ0MGM1LTY3M2YtNDg4ZC1hMmY1LTQwZDdkM2M4YzQ1YyIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYxMSwiZXhwIjoxNjYzOTUyMjExLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImQxMGM5YjVjLWNkNzEtNDc5Ny1iM2RlLTc5NDVkYjU1ZjA1YVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYxMX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.BC9CQ9xwz0uI2naP26KKEaukID21hgf5EvOdAEHRVLRfxIK6QcA6INdprBjzNIHBLLauuBrnY2C6OyhNIvivvkctvdwIGv6TQjcmxiYbDxsyQcBIq8CTZ-Oi2KOEt0BnocPhfrEFYIbY6Rk3wRbosRNAmCQuNQHArRjUCqhv9vPdawrsNpzMP18Mf5DDFifIkJujR3-Y688fEtEpY23vMeeaeJLTHZduLcvsK1kP0_M-pMqZ3TQVnD7yigQpR9PYue-b33g8B2q95tN0fnFPbiUgMa7AECtlyTykATfx6j6s_ssM7mYP9cpUszlH0LzfcMlwIeu_B1C1WZs8rH9adA' \
    -d '{"name":"Test edge router policy 1663948611","networkId":"a2acd1bd-773e-443e-b7b3-f50b1646113d","semantic":"AnyOf","endpointAttributes":["#topclients"],"edgeRouterAttributes":["#westrouters"]}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 940

{
  "id" : "6171de83-56fb-4fe9-b7c0-41a3bf497f32",
  "networkId" : "a2acd1bd-773e-443e-b7b3-f50b1646113d",
  "zitiId" : "ziti.id.7nfhzz6kr9",
  "name" : "Test edge router policy 1663948611",
  "isSystem" : false,
  "semantic" : "AnyOf",
  "endpointAttributes" : [ "#topclients" ],
  "edgeRouterAttributes" : [ "#westrouters" ],
  "exclusiveType" : null,
  "ownerIdentityId" : "40b440c5-673f-488d-a2f5-40d7d3c8c45c",
  "createdBy" : "40b440c5-673f-488d-a2f5-40d7d3c8c45c",
  "createdAt" : "2022-09-23T15:56:51.705369Z",
  "updatedAt" : "2022-09-23T15:56:51.786070Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies/6171de83-56fb-4fe9-b7c0-41a3bf497f32"
    },
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/a2acd1bd-773e-443e-b7b3-f50b1646113d",
      "profile" : "parent"
    }
  }
}

Update Edge Router Policy

PUT /edge-router-policies/{id}

Authorization

This endpoint requires update action on the edge-router-policy resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

semantic

String

true

io.netfoundry.common.util.validation.ValidAs.
Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouterAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

isSystem

Boolean

false

semantic

String

false

Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

true

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-router-policies/11990d80-0b07-4151-a720-0cdd66a7316d' -i -X PUT \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkamRBcjAwZTloUzViellIU2owQWR3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImQzYjhlZGI5LWQ3MzgtNDgxNi1iOTFmLTEzNjE1M2NjMWVkOSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYxNCwiZXhwIjoxNjYzOTUyMjE0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjM3NTk1Y2UzLTE4ZDgtNDg5ZC04ZDA4LTg2ZmUwYjE5NmZlMlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYxNH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.CPMB2N81H6cwa8pcWr3O3vbf-ogbbj-VCTBzPZwXsCyu_0zZzAg1D_smvNYnOdwTHLC-hXL_Wi1cPwJWwW7S9XTGugnSWKy-pp07rxiX376qo5F5DUfVkP88t7ZO1dy7_ZO8LbVg0-D2MSydgC8TWWJrtU10kBcj1pWEjR20WxZTBT9hbKdoVsPJ0EwRrs7tw8HuCDBh9UxvnC20DMtBRKIvZ4NWinLEhMRhgFJK8rhdgGQsrey32L5xQf_Ud9PTZc1Uqt2zHEFIm6b-0E9wWbgyYObjCmVVmVXivX_1BD6MidJcRl3KmZv0L-LCYJ22zOsOe8VMlpOXfNyL063odA' \
    -d '{"name":"Updated edge router policy name","semantic":"AnyOf","endpointAttributes":["#topclients"],"edgeRouterAttributes":["#westrouters"]}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 937

{
  "id" : "11990d80-0b07-4151-a720-0cdd66a7316d",
  "networkId" : "838ee2a2-6575-444e-b3e2-062fdaa5d4bd",
  "zitiId" : "ziti.id.7nfj1u4nnf",
  "name" : "Updated edge router policy name",
  "isSystem" : false,
  "semantic" : "AnyOf",
  "endpointAttributes" : [ "#topclients" ],
  "edgeRouterAttributes" : [ "#westrouters" ],
  "exclusiveType" : null,
  "ownerIdentityId" : "fac63ad2-a626-4d8f-a506-68cec514fab8",
  "createdBy" : "fac63ad2-a626-4d8f-a506-68cec514fab8",
  "createdAt" : "2022-09-23T15:56:53.939852Z",
  "updatedAt" : "2022-09-23T15:56:54.346387Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies/11990d80-0b07-4151-a720-0cdd66a7316d"
    },
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/838ee2a2-6575-444e-b3e2-062fdaa5d4bd",
      "profile" : "parent"
    }
  }
}

Delete Edge Router Policy

DELETE /edge-router-policies/{id}

Authorization

This endpoint requires delete action on the edge-router-policy resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-router-policies/08577b89-3791-46e2-ada6-7c817d3288b5' -i -X DELETE \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJsRUtVXzlxaDhyQzNYdUlLUzhhYVp3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImE5NGQwNjEyLWY5ODYtNGIwNC05N2RjLTliZGYzMzU4NzUzYSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYxMywiZXhwIjoxNjYzOTUyMjEzLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImU5MzJhMGI4LTUzZjctNGQ0NC05NGIwLWYwODg2M2Y2ZDk0OVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYxM31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.kGR6SzK1gW9uMJVBL3FZyPPmn1rrB8U2KjjDm7dnT7Y25WvRZwAFezxf2NoYHm-b1OvJl_XkML5lwrotmb20ifTkLB4t7DM4rEVjYOwNlGpszDgm-2hNo1Jl8y0bNycuSPbFdZyvI6aL30bh4UCi2FJuXwgwwUEoNv2OV054_kyIkgM3nrLNjU1g8jkjiogVQmY-L4S2hrh0Ge1JQ1A4leIqJffTQX36WpjfbJEG-sUOPjlsid06ficpT8EY53oVG9b_kqALSNQulNdKbSLfjtZ0UlzmzYJDJqF6wqWSHljQ8wX3H7w9o8KU080kTYBmRW6U5HZ2LhFHCIBIGYC8dQ'

Example response

HTTP/1.1 200 OK

Find Edge Router Policies

GET /edge-router-policies

Authorization

This endpoint requires read action on the edge-router-policy resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

isSystem

Boolean

false

semantic

String

false

Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

true

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

isSystem

Boolean

false

semantic

String

false

Must be one of [AllOf, AnyOf].

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

true

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/edge-router-policies' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJha0NFRVRkc2ROem1qMU1aMnRhSlhnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6Ijg3ZThmNWNlLTQ2ZjQtNGE1YS1hMWU0LTdjYzVlYmExNDMyMCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY1NiwiZXhwIjoxNjYzOTUyMjU2LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImM1NjkxYmM3LTJlZmMtNDJmYy1hZDI5LTNmY2M3OGNmOTE3OVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY1Nn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.WoT0-lEjEK-Y1fJ-Q01TsZpaZ5CQ0nQOc-ByY2ACT-7UE6lBolS4i7PW2WI1-NcClXGxY5ih7yRl3SbNb2YzICIf811DJhEq3IBvPFVX4XOhXX8a5hFPqKENDKgMhKwDJ7Fo4F97eypNZsBw6PIzAqgsyQE7KWJL4XR4ChaoiKp0toSrpwPhIUac3yfha2t6tfFhcJKtk_-_WIHqEiETa4vhIslrqsf7Naj2n64DdekO-_RpkD5p7XoXGhX3zcRbkgCINfIUD1pDmUcLzP9AnuM1ONrU1GbfbT5Apl57JsMOQsNV64nCeFP2mDJcKF9OYAatAajNKfUCdhDhrpoP9g'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2417

{
  "_embedded" : {
    "edgeRouterPolicyList" : [ {
      "id" : "d138898e-4e38-4a02-9513-44527414fca1",
      "networkId" : "1408ab2c-a811-4ada-868d-2a095097b84b",
      "zitiId" : "6c24a806-6179-4af3-bf51-661faebbb848",
      "name" : "Find Test Edge Router Policy 2",
      "isSystem" : true,
      "semantic" : "AllOf",
      "endpointAttributes" : [ "#epAttr1", "#attr3" ],
      "edgeRouterAttributes" : [ "#erAttr1" ],
      "exclusiveType" : null,
      "ownerIdentityId" : "2a513c97-1235-4972-9b23-c9dbc80e1821",
      "createdBy" : "2a513c97-1235-4972-9b23-c9dbc80e1821",
      "createdAt" : "2022-09-23T15:57:36.385882Z",
      "updatedAt" : "2022-09-23T15:57:36.385882Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies/d138898e-4e38-4a02-9513-44527414fca1"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/1408ab2c-a811-4ada-868d-2a095097b84b",
          "profile" : "parent"
        }
      }
    }, {
      "id" : "ef08213a-d658-4583-bab7-6ce072df7e36",
      "networkId" : "1408ab2c-a811-4ada-868d-2a095097b84b",
      "zitiId" : "d64b2972-4377-4e16-b2b7-029a3312320a",
      "name" : "Find Test Edge Router Policy 1",
      "isSystem" : false,
      "semantic" : "AnyOf",
      "endpointAttributes" : [ "#epAttr2", "#epAttr1" ],
      "edgeRouterAttributes" : [ "#erAttr2", "#erAttr1" ],
      "exclusiveType" : null,
      "ownerIdentityId" : "2a513c97-1235-4972-9b23-c9dbc80e1821",
      "createdBy" : "2a513c97-1235-4972-9b23-c9dbc80e1821",
      "createdAt" : "2022-09-23T15:57:36.373205Z",
      "updatedAt" : "2022-09-23T15:57:36.373205Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies/ef08213a-d658-4583-bab7-6ce072df7e36"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/1408ab2c-a811-4ada-868d-2a095097b84b",
          "profile" : "parent"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/edge-router-policies"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Services

Find Services

GET /services

Authorization

This endpoint requires read action on the service resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

encryptionRequired

Boolean

true

modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

configIdByConfigTypeId

Map

false

attributes

Array[String]

false

model

Object

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

encryptionRequired

Boolean

true

modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

configIdByConfigTypeId

Map

false

attributes

Array[String]

false

model

Object

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/services' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI5WU1Obnk4dGZkYzJfLVY5bG44cEhRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjE0ODczMGMxLWFlYjgtNGU3ZC05OTc0LTFmNGY4ZjhmMWE2NyIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYwNiwiZXhwIjoxNjYzOTUyMjA2LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImUyYmM3OTc2LWMzYTktNGM5ZC05ZjkzLTM5ODM2MWYxYTAxM1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYwNn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.Z2nodqkzw7flGGS8B_zZPMFUeLKh0EqNV8-N6X_e7zh3AVhjWt_zKiVVKkl7BX5sVviHN-q-rl3Mu2FNFQ7cZFnD0VHj7ljH83LV39TpnIr83aUaWHSdbBGCG5FSVfok8vwsQs2MUCGP1ei2B11oRM8kgUarxpw4we1rAJh6hh50BHQpNL9flNLP1ec5LjS_HsDl1KNRUg2QrB5-KF2ucAiMRBWmSR1muVrs18xlXCXp0rsvoPQA_6_qxHEGB24YZVpuYPUQ7DSooOpamdWIMqAsCrPuorQJXaySmo7AG8zc8_QWNq03n39H55FL6bU3uP2eTcmn2way7Jy4LoQNEA'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2494

{
  "_embedded" : {
    "serviceList" : [ {
      "id" : "14dd738e-83a8-4c48-b9a3-88ed79ae3a4e",
      "networkId" : "2bdc2778-6345-4feb-af0e-04c4ab8b052a",
      "zitiId" : "ziti-id-29",
      "name" : "Find Service 1",
      "encryptionRequired" : true,
      "modelType" : "ZSSH",
      "ownerIdentityId" : "913d63ff-f521-4074-9982-8233d442414e",
      "createdBy" : "913d63ff-f521-4074-9982-8233d442414e",
      "createdAt" : "2022-09-23T15:56:46.417932Z",
      "updatedAt" : "2022-09-23T15:56:46.417932Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "configIdByConfigTypeId" : { },
      "attributes" : [ "attr2", "attr1" ],
      "model" : {
        "bindEndpointAttributes" : [ "all" ],
        "edgeRouterAttributes" : [ "all" ]
      },
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/services/14dd738e-83a8-4c48-b9a3-88ed79ae3a4e"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/2bdc2778-6345-4feb-af0e-04c4ab8b052a",
          "profile" : "parent"
        }
      }
    }, {
      "id" : "18137c0c-c4ee-40c3-aae0-aaffa0d50828",
      "networkId" : "2bdc2778-6345-4feb-af0e-04c4ab8b052a",
      "zitiId" : "ziti-id-31",
      "name" : "Find Service 2",
      "encryptionRequired" : false,
      "modelType" : "Generic",
      "ownerIdentityId" : "913d63ff-f521-4074-9982-8233d442414e",
      "createdBy" : "913d63ff-f521-4074-9982-8233d442414e",
      "createdAt" : "2022-09-23T15:56:46.472538Z",
      "updatedAt" : "2022-09-23T15:56:46.472538Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "configIdByConfigTypeId" : { },
      "attributes" : [ "attr1", "attr3" ],
      "model" : {
        "configTypes" : [ ],
        "configs" : [ ],
        "terminators" : [ ],
        "serviceEdgeRouterPolicy" : null,
        "servicePolicy" : null
      },
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/services/18137c0c-c4ee-40c3-aae0-aaffa0d50828"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/2bdc2778-6345-4feb-af0e-04c4ab8b052a",
          "profile" : "parent"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/services"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Get Service

GET /services/{id}

Authorization

This endpoint requires read action on the service resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

encryptionRequired

Boolean

true

modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

configIdByConfigTypeId

Map

false

attributes

Array[String]

false

model

Object

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/services/b76dd5a8-2259-4440-b805-c9ad482343da' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJJREZ3Nzd1WXh5YTBxV0dYWVVTMVBnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjYyMmIyYzgzLWVhMTYtNGI0YS1iYzY2LTM0ZmJhNGIzNTA3NiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcyMiwiZXhwIjoxNjYzOTUyMzIyLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjA2ZTliYWExLTEzNDgtNDMzYy05ZDY4LTg3ZTExN2U4NjBmY1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcyMn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.Wq0JLpzmf4rNq5In7jQuJ3vTzu0eqkEDr3tfZ9E3eKk-KoA1yBiT7Ka6JQbE0luVFU3oivq_9btzPhX__C0FZ0r_oMoaaoLs0pxBl1axjJ4SfRchHBReE6chjtwQzY2W49BYyAMBUF3e2ZYiEjO2l1WKbalRF48mHjCWtCoFZaSMFoxMsxU36JT0_tVfgF-6LJow0qjAbT__6kffQZZL1gxUUC13wUqQ84GdWkNh3mmQZ38krQriiKCsGas8ap-iPxmIVEMGCd1DsSW1N0UvBCu_pDQHwycSu9lmZJlI2iHdnDk2ZxXwkqmOeFBpnN-0WdWvkk0-mdGLih6e58YWTw'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 863

{
  "id" : "b76dd5a8-2259-4440-b805-c9ad482343da",
  "networkId" : "60e943c0-c106-4894-aa3b-0fb6719b0af0",
  "zitiId" : "ziti.id.7ngwekqo0z",
  "name" : "My Service 7ngv1lhs9v",
  "encryptionRequired" : false,
  "modelType" : "TunnelerToSdk",
  "ownerIdentityId" : "154a8e14-e6fd-4683-87ac-13de0e83bf84",
  "createdBy" : "154a8e14-e6fd-4683-87ac-13de0e83bf84",
  "createdAt" : "2022-09-23T15:58:41.480815Z",
  "updatedAt" : "2022-09-23T15:58:41.505807Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "configIdByConfigTypeId" : {
    "1617e331-9237-414b-8b83-e310ad0bc7a2" : "a1730c4f-303e-4ddb-a4b5-62233867526d"
  },
  "attributes" : [ "#Attr-1", "#Attr-2" ],
  "model" : {
    "clientIngress" : {
      "host" : "myHost.com",
      "port" : 8989
    },
    "bindEndpointAttributes" : [ "#east-pop" ],
    "edgeRouterAttributes" : [ "#LA-dataCenter-ERs" ]
  }
}

Create Service

POST /services

Authorization

This endpoint requires create action on the service resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

name

String

true

io.netfoundry.common.util.validation.ValidAs.

encryptionRequired

Boolean

true

configIds

Array[Object]

true

configNames

Array[String]

true

configs

Array[Object]

true

configs[].networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

configs[].name

String

true

io.netfoundry.common.util.validation.ValidAs.

configs[].configTypeId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

configs[].configTypeName

String

true

configs[].configType

Object

true

configs[].configType.networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

configs[].configType.name

String

true

io.netfoundry.common.util.validation.ValidAs.

configs[].configType.schema

Object

true

io.netfoundry.common.util.validation.ValidAs.

configs[].data

Object

true

io.netfoundry.common.util.validation.ValidAs.

attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

model

Object

true

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

encryptionRequired

Boolean

true

modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

configIdByConfigTypeId

Map

false

attributes

Array[String]

false

model

Object

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/services' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkd3hvVWVUNUFUU1VLcE40dEx2QVJBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjE1NGE4ZTE0LWU2ZmQtNDY4My04N2FjLTEzZGUwZTgzYmY4NCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcyMSwiZXhwIjoxNjYzOTUyMzIxLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjRmMDlmOGQ0LTk0YzgtNDc3Yi1iNjExLTJiMWViYzAxYmQzOVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcyMX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.HxsESNCLBOYe3K4hLOs-A8pIZdjl8B2d-KwzclbLUh8kIcW_X7DbG6LkJwZeWfhsph7TQ3xq1-IijcptrhfuKCHLnMlGV00lhdldYU0GizPDyCk8G6G3n5vLFSw6BVmchzHzbC1RBBAcep9w72x1mOlF93LeKemAldzU5kwZihFNxUDOlPd2v5_KM_3s7ET98Fl7Uzj8_isJiWa1Su_7NoQ2PINb520EU7u-_v7fmt0Y2BDZbvqCk5iBvfMuzIKRjt235rhXaXjXJZO3ewawiHIUjjmE7ugq-AYggn3X8gGy3LHUhjO6fWdJS2_q8oBXyNv9OAzQQAC551QF1Sq2Ow' \
    -d '{"networkId":"60e943c0-c106-4894-aa3b-0fb6719b0af0","name":"My Service 7ngv1lhs9v","encryptionRequired":false,"attributes":["#Attr-2","#Attr-1"],"modelType":"TunnelerToSdk","model":{"clientIngress":{"host":"myHost.com","port":8989},"bindEndpointAttributes":["#east-pop"],"edgeRouterAttributes":["#LA-dataCenter-ERs"]}}'

Example response

HTTP/1.1 202 Accepted
Content-Type: application/json
Content-Length: 863

{
  "id" : "b76dd5a8-2259-4440-b805-c9ad482343da",
  "networkId" : "60e943c0-c106-4894-aa3b-0fb6719b0af0",
  "zitiId" : "ziti.id.7ngwekqo0z",
  "name" : "My Service 7ngv1lhs9v",
  "encryptionRequired" : false,
  "modelType" : "TunnelerToSdk",
  "ownerIdentityId" : "154a8e14-e6fd-4683-87ac-13de0e83bf84",
  "createdBy" : "154a8e14-e6fd-4683-87ac-13de0e83bf84",
  "createdAt" : "2022-09-23T15:58:41.480815Z",
  "updatedAt" : "2022-09-23T15:58:41.505807Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "configIdByConfigTypeId" : {
    "1617e331-9237-414b-8b83-e310ad0bc7a2" : "a1730c4f-303e-4ddb-a4b5-62233867526d"
  },
  "attributes" : [ "#Attr-1", "#Attr-2" ],
  "model" : {
    "clientIngress" : {
      "host" : "myHost.com",
      "port" : 8989
    },
    "bindEndpointAttributes" : [ "#east-pop" ],
    "edgeRouterAttributes" : [ "#LA-dataCenter-ERs" ]
  }
}

Update Service

PATCH /services/{id}

Authorization

This endpoint requires update action on the service resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

encryptionRequired

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

configIds

Array[Object]

true

configNames

Array[String]

true

updateExclusiveConfigs

Map

true

createExclusiveConfigs

Array[Object]

true

createExclusiveConfigs[].networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

createExclusiveConfigs[].name

String

true

io.netfoundry.common.util.validation.ValidAs.

createExclusiveConfigs[].configTypeId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

createExclusiveConfigs[].configTypeName

String

true

createExclusiveConfigs[].configType

Object

true

createExclusiveConfigs[].configType.networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

createExclusiveConfigs[].configType.name

String

true

io.netfoundry.common.util.validation.ValidAs.

createExclusiveConfigs[].configType.schema

Object

true

io.netfoundry.common.util.validation.ValidAs.

createExclusiveConfigs[].data

Object

true

io.netfoundry.common.util.validation.ValidAs.

attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

model

Object

true

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

encryptionRequired

Boolean

true

modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

configIdByConfigTypeId

Map

false

attributes

Array[String]

false

model

Object

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/services/b76dd5a8-2259-4440-b805-c9ad482343da' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJTNXp6bDh4eHBaWlc4TGU3OVNzdmVRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImUyNTc2MDUwLWE1MjktNDFjYS04ZmQ2LWIzODQ4OWUyMGUzNiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcyNSwiZXhwIjoxNjYzOTUyMzI1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImI5OGZkOWQwLWVjOTQtNDlkZi1hMzFlLThmNmU5NmRjZjVjOVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcyNX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.d2lnnqCb-Mk8RLaNTstFO0pViiLrlE-KYb5IlvXg5AV9PwtMcXs3cbQoeLeSny4q3XIIhkXZRYOsBVMUmCUYGPv6xtm2ZWwR4xkLToR15KkaRTBNpH4bdFWepxNncjcFVtJfuE8vrH_fWZ928h9wVllhBQMzW8ivMwlTJZjX9ja0OPK0mtBh7ltAL6SQX42AWxYdp7oXCILc-Df6vkRdwGWUvxPGSrxBJoEHI-A8gr8SSC0_wBjIleTafaIWl67fb8DdLI04a_5H4sXjnq5vnKC_5gnuFYLZ_UQQ4txng3xn3l3wcJKyPSzBzsDdAGe4l0glN4sloBsggaW2L10nMA' \
    -d '{"name":"Our Service 7ngv1lhs9v","encryptionRequired":true,"attributes":["#Attr-2","#Attr-4"],"modelType":"TunnelerToSdk","model":{"clientIngress":{"host":"myHost.com","port":8989},"bindEndpointAttributes":["#east-pop"],"edgeRouterAttributes":["#LA-dataCenter-ERs"]}}'

Example response

HTTP/1.1 202 Accepted
Content-Type: application/json
Content-Length: 863

{
  "id" : "b76dd5a8-2259-4440-b805-c9ad482343da",
  "networkId" : "60e943c0-c106-4894-aa3b-0fb6719b0af0",
  "zitiId" : "ziti.id.7ngwekqo0z",
  "name" : "Our Service 7ngv1lhs9v",
  "encryptionRequired" : true,
  "modelType" : "TunnelerToSdk",
  "ownerIdentityId" : "154a8e14-e6fd-4683-87ac-13de0e83bf84",
  "createdBy" : "154a8e14-e6fd-4683-87ac-13de0e83bf84",
  "createdAt" : "2022-09-23T15:58:41.480815Z",
  "updatedAt" : "2022-09-23T15:58:45.023778Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "configIdByConfigTypeId" : {
    "1617e331-9237-414b-8b83-e310ad0bc7a2" : "b2359c52-afe1-44f6-aafc-6076ea0079f6"
  },
  "attributes" : [ "#Attr-4", "#Attr-2" ],
  "model" : {
    "clientIngress" : {
      "host" : "myHost.com",
      "port" : 8989
    },
    "bindEndpointAttributes" : [ "#east-pop" ],
    "edgeRouterAttributes" : [ "#LA-dataCenter-ERs" ]
  }
}

Delete Service

DELETE /services/{id}

Authorization

This endpoint requires delete action on the service resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

encryptionRequired

Boolean

true

modelType

String

true

Must be one of [Generic, TunnelerToSdk, TunnelerToEndpoint, TunnelerToEdgeRouter, AdvancedTunnelerToEndpoint, ZSSH].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

configIdByConfigTypeId

Map

false

attributes

Array[String]

false

model

Object

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/services/b76dd5a8-2259-4440-b805-c9ad482343da' -i -X DELETE \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJYdV9DMzFETVhwX3Y1bzByWjlZU2V3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjA1ZDE2MmJkLTNmOWQtNDMyNS1hNTY1LTIzNWFiN2VhMjg4OSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcyNiwiZXhwIjoxNjYzOTUyMzI2LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjI3ZWFkMTU1LWMxMTMtNGYxMi05N2Y5LWRkMDdkMGRlMGM4M1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcyNn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.RYc7v4clNMiLAqRdRsEONQFcA7fh694Wug8l8zeL5M8_ig5vLRdPnPsywW0iDRoAAkRCpr943r29U47178zBuIaE-RbcOiyLUpyoCSTDxGTdWuqnY6rrL4JXC0JbpNvPbmMlR2K-GJsRaDU6yKPGSSPUMBIVI_IG1Fzh6Y26mlIFBou7Y1EteswjFQVLep43wsdWkEQdQcABRP096JKnqzZGNswuTdGI1tlRb_8KyzNh8W2TGKS3F5oFtibzW09e5QxVohD5KNPykjpx3-jKQQ4wTKrjWBbqGiaH6T3D2LECiHnGfxvy1WR_6RW72KCoAwcxpb1uHRmV2BPM5OT6wg'

Example response

HTTP/1.1 202 Accepted
Content-Type: application/json
Content-Length: 849

{
  "id" : "b76dd5a8-2259-4440-b805-c9ad482343da",
  "networkId" : "60e943c0-c106-4894-aa3b-0fb6719b0af0",
  "zitiId" : null,
  "name" : "Our Service 7ngv1lhs9v",
  "encryptionRequired" : true,
  "modelType" : "TunnelerToSdk",
  "ownerIdentityId" : "154a8e14-e6fd-4683-87ac-13de0e83bf84",
  "createdBy" : "154a8e14-e6fd-4683-87ac-13de0e83bf84",
  "createdAt" : "2022-09-23T15:58:41.480815Z",
  "updatedAt" : "2022-09-23T15:58:46.590240Z",
  "deletedBy" : "05d162bd-3f9d-4325-a565-235ab7ea2889",
  "deletedAt" : "2022-09-23T15:58:46.581Z",
  "configIdByConfigTypeId" : {
    "1617e331-9237-414b-8b83-e310ad0bc7a2" : "b2359c52-afe1-44f6-aafc-6076ea0079f6"
  },
  "attributes" : [ ],
  "model" : {
    "clientIngress" : {
      "host" : "myHost.com",
      "port" : 8989
    },
    "bindEndpointAttributes" : [ ],
    "edgeRouterAttributes" : [ ]
  }
}

App Wans

Find App Wans

GET /app-wans

Authorization

This endpoint requires read action on the app-wan resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

zitiId

String

true

networkId

String

false

serviceAttributes

Array[String]

false

endpointAttributes

Array[String]

false

postureCheckAttributes

Array[String]

false

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

zitiId

String

true

networkId

String

false

serviceAttributes

Array[String]

false

endpointAttributes

Array[String]

false

postureCheckAttributes

Array[String]

false

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/app-wans' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJVaUhGV1BpQXlNOGRzR2N4c3NlZjF3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImQ0ODIwNmU4LWI0MWQtNDQwZC1hYTZlLWI3OWEwZTQ3NGQ3NSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczOCwiZXhwIjoxNjYzOTUyMzM4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjdhMjY2YmY4LWNjNDQtNDRlZC1iOTdmLWI5MmUxN2RlZWZmOFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczOH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.CsMZN6L7Suo5VUnez0PDfDzVQF7OosJ-6-jJLIeXgrirTPCgiECojJZtXVt9JdyX5bEs7vifTGxpfuZm2FMaZp_Afz6c0ACr2YXf0f_Ewlh2Sp-WtlgoNHfYPASMZ2i_cZ4PxNIXxikXF34OzHX4CZ-DYkX5WFh7G10NGvQ-MQzws4PYdA1GNT4czgxzJG-psIKToq2T69Tq301FWyjRFBw_pUWZOfSAJZhEDU6njtaSnjFwjlYSP20nkAWsoP5zzF1pNIAXiLs1ne2w8JjFiCSxXYEBFgO6ivp5K7hSsqv9BhQAzG6rj_e-JLRNDw2W2NPBZowtoB3dl02YDVQECA'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 3154

{
  "_embedded" : {
    "appWanList" : [ {
      "id" : "0e07cb3d-fe40-457b-9499-45efe1cf6fa3",
      "ownerIdentityId" : "6b7f20ea-2757-4ef1-8208-d70d283a25f0",
      "createdBy" : "6b7f20ea-2757-4ef1-8208-d70d283a25f0",
      "createdAt" : "2022-09-23T15:57:34.807953Z",
      "updatedAt" : "2022-09-23T15:57:34.809642Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "name" : "AppWan C",
      "zitiId" : "c6102a68-63d2-4029-9599-bd1659e8456f",
      "networkId" : "ea813750-4abb-4fbd-a42e-15fce3e83b82",
      "serviceAttributes" : [ "@Service C" ],
      "endpointAttributes" : [ "@Endpoint C" ],
      "postureCheckAttributes" : [ ],
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/ea813750-4abb-4fbd-a42e-15fce3e83b82",
          "profile" : "parent"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans/0e07cb3d-fe40-457b-9499-45efe1cf6fa3"
        }
      }
    }, {
      "id" : "0ed7707f-5ed4-4e74-9036-468ec36f3032",
      "ownerIdentityId" : "f85de7aa-8e26-472a-82d2-0846d09d958a",
      "createdBy" : "f85de7aa-8e26-472a-82d2-0846d09d958a",
      "createdAt" : "2022-09-23T15:58:58.210712Z",
      "updatedAt" : "2022-09-23T15:58:58.211310Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "name" : "appwan-1670",
      "zitiId" : "a4e1d1e7-7400-4d47-becc-97720dd74385",
      "networkId" : "d775f5f6-c330-418a-8375-6abc86bdbc91",
      "serviceAttributes" : [ ],
      "endpointAttributes" : [ ],
      "postureCheckAttributes" : [ ],
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/d775f5f6-c330-418a-8375-6abc86bdbc91",
          "profile" : "parent"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans/0ed7707f-5ed4-4e74-9036-468ec36f3032"
        }
      }
    }, {
      "id" : "1bce1dd9-d187-474e-b3c7-7b71e4ae8234",
      "ownerIdentityId" : "939a94a3-43fa-4674-b3ba-ca5b69051750",
      "createdBy" : "939a94a3-43fa-4674-b3ba-ca5b69051750",
      "createdAt" : "2022-09-23T15:57:34.458015Z",
      "updatedAt" : "2022-09-23T15:57:34.459693Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "name" : "AppWan A",
      "zitiId" : "080f592b-70bd-43ec-b7e0-863ae90b4417",
      "networkId" : "7bae7485-2b8d-4db5-9453-ffce75dc06cc",
      "serviceAttributes" : [ "@Service A" ],
      "endpointAttributes" : [ "@Endpoint A" ],
      "postureCheckAttributes" : [ ],
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/7bae7485-2b8d-4db5-9453-ffce75dc06cc",
          "profile" : "parent"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans/1bce1dd9-d187-474e-b3c7-7b71e4ae8234"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 27,
    "totalPages" : 1,
    "number" : 0
  }
}

Get App Wan

GET /app-wans/{id}

Authorization

This endpoint requires read action on the app-wan resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

zitiId

String

true

networkId

String

false

serviceAttributes

Array[String]

false

endpointAttributes

Array[String]

false

postureCheckAttributes

Array[String]

false

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/app-wans/8983d202-cc5a-4a67-bfa0-285aa0d0e72f' -i -X GET \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJHMVZjWDlNcXBMSno0bEhrTlp3RTZnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjlkODM4YTgwLTAwMGItNDBiYS04YWMzLTI1NTI5N2FlOWYxZSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczOCwiZXhwIjoxNjYzOTUyMzM4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjViNDQ5NjA3LTNiNjgtNGMzNi04M2VjLWQyZjZjZmM2M2VmN1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczOH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.h_2_ZtZIAmxPL937aNyEmpveddQUQMQROQ_P9RDP9UE2Ypjx0tGzctlRBS5i3CSZaG8PSlrmzimnjeqMOLZeav9kwK8__xM74keAvpbqb636A05e4cUCaHClYqCC2fGzjDZ22HmfHNf51QPiGUnYFB5XCTSttuKhHkOqOlB_6HzP7URjlunFwndVmKzHKUxnpQAAny-niWyv0r1tQhUrA-aL4pXpv7rLw-tpcD0YWubEwkKvYb7dDKA7Vx4bQdu3L0_JoJuqWNGQBJECCwpfyUnyZho2msGtV6YBHZBDJlW4v_KA3V15i1I0xcpAVyH-nCXghtksMnHnHwcoDr9BJA'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 853

{
  "id" : "8983d202-cc5a-4a67-bfa0-285aa0d0e72f",
  "ownerIdentityId" : "6cf1f65b-0c95-41f6-a481-4705e5f6e49a",
  "createdBy" : "6cf1f65b-0c95-41f6-a481-4705e5f6e49a",
  "createdAt" : "2022-09-23T15:58:58.402159Z",
  "updatedAt" : "2022-09-23T15:58:58.403045Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "name" : "appwan-1678",
  "zitiId" : "1389f6c6-af89-4522-920e-93fa804d4b00",
  "networkId" : "89ccf2a7-1edb-40d9-818b-780fb16586cb",
  "serviceAttributes" : [ ],
  "endpointAttributes" : [ ],
  "postureCheckAttributes" : [ ],
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/89ccf2a7-1edb-40d9-818b-780fb16586cb",
      "profile" : "parent"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans/8983d202-cc5a-4a67-bfa0-285aa0d0e72f"
    }
  }
}

Find App Wans

GET /app-wans

Authorization

This endpoint requires read action on the app-wan resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

zitiId

String

true

networkId

String

false

serviceAttributes

Array[String]

false

endpointAttributes

Array[String]

false

postureCheckAttributes

Array[String]

false

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

zitiId

String

true

networkId

String

false

serviceAttributes

Array[String]

false

endpointAttributes

Array[String]

false

postureCheckAttributes

Array[String]

false

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/app-wans' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJxR2VXWndfT0JiZGxVZ2NKV3NCRlNnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjUyMmI3MGFhLWYwZDQtNDBjZS05YjljLTI3NjQ4MDExMDdhNyIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY0NCwiZXhwIjoxNjYzOTUyMjQ0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImQ2ZmQ5OTBhLWU5MjgtNDcyMy1iODg2LWJlNjgwNzg4NGZiN1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY0NH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.WRmdBx4G2uD8cyw3sBI8v6ybnERwXBphJMV8JYg0ZUbwYfE61X6Tz9-RotOIxTDtukuG8fDg3C74zRy6DcGWD7G9n7MjAGzpIIHwk6mfgsOPsiUq8WWSZGfj_ldofacDHMmB6hB5SpnL-S-q7EonoKkqiGQdcbzV6OtyP4emFcET6ebngG6rHO8pMy7siyao_eab-2-kJGu7pg5ko0rj1W8jWH8YKmr3vxbuPRWZtnWxpfC6W5CZ9gU9f-yIFlYSXVYqjVGVqfdjUvEdDyiPBCwZG3Ue4Tc2utdaj5NvETBdx0Yzm-i_0BcQEFEnFTV8qRDaD6Mv_XyYVjtjmET8cQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2252

{
  "_embedded" : {
    "appWanList" : [ {
      "id" : "30e605d1-6d86-44a1-a2c6-1fda653d71a2",
      "ownerIdentityId" : "28ae6b73-1785-4d2d-851f-ca1680b3b7c4",
      "createdBy" : "28ae6b73-1785-4d2d-851f-ca1680b3b7c4",
      "createdAt" : "2022-09-23T15:57:24.380315Z",
      "updatedAt" : "2022-09-23T15:57:24.383281Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "name" : "Find Test AppWan 2",
      "zitiId" : "580eda50-f557-485f-a1e9-d991eaa656d2",
      "networkId" : "c738e9c5-2e4c-4d74-982e-6c0f8a40e7c7",
      "serviceAttributes" : [ "#seAttr1", "#seAttr3" ],
      "endpointAttributes" : [ "#epAttr1" ],
      "postureCheckAttributes" : [ ],
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans/30e605d1-6d86-44a1-a2c6-1fda653d71a2"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/c738e9c5-2e4c-4d74-982e-6c0f8a40e7c7",
          "profile" : "parent"
        }
      }
    }, {
      "id" : "4f9cb653-9d36-43ff-990d-a89d9fb320d5",
      "ownerIdentityId" : "28ae6b73-1785-4d2d-851f-ca1680b3b7c4",
      "createdBy" : "28ae6b73-1785-4d2d-851f-ca1680b3b7c4",
      "createdAt" : "2022-09-23T15:57:24.372963Z",
      "updatedAt" : "2022-09-23T15:57:24.375843Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "name" : "Find Test AppWan 1",
      "zitiId" : "74b38c29-c2dd-4f4c-a36e-f92b5505c6b0",
      "networkId" : "c738e9c5-2e4c-4d74-982e-6c0f8a40e7c7",
      "serviceAttributes" : [ "#seAttr1", "#seAttr2" ],
      "endpointAttributes" : [ "#epAttr2", "#epAttr1" ],
      "postureCheckAttributes" : [ ],
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans/4f9cb653-9d36-43ff-990d-a89d9fb320d5"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/c738e9c5-2e4c-4d74-982e-6c0f8a40e7c7",
          "profile" : "parent"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Create App Wan

POST /app-wans

Authorization

This endpoint requires create action on the app-wan resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

networkId

String

false

name

String

false

serviceAttributes

Array[String]

true

endpointAttributes

Array[String]

true

postureCheckAttributes

Array[String]

true

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

zitiId

String

true

networkId

String

false

serviceAttributes

Array[String]

false

endpointAttributes

Array[String]

false

postureCheckAttributes

Array[String]

false

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/app-wans' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwckhHZG90OXI5TTdQODl2UkJvU0JBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjA4ZDVhMDhmLTFhODItNGUwYy05ZmNhLWNhMDU1MjYyNWE0YiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczOCwiZXhwIjoxNjYzOTUyMzM4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjIzMjhiNjQ2LTZhNDItNDYxNy04MDM0LWMyYTdjMzAzOTQxNVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczOH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.V3dhg_fQic6sFuRkQ4zVt3vcrKZDbNxPKFKphihI2iZZQ14hA24fPO-h2MQG7MGNGg0f2uruDJdTO_lYrq1-CvZkE3KGEg2MPsPFU_enMtW00Gb4WZiPCGk92QNnSyW_zm_ZgRlWsG6rxaW_RLrRDL7WvqILzbzQX7_LqdHnfctKQyaMwWJrrQ_GjAzjak63qXw2fTcdtKBUYSF6tYUJBDtJPRBlPY650I6l9hwU-WC-ysbGsW_X1yc5hPPIwKMRuPcB7j83ACr1Y3G0UJwFIoXeLffMHyHxHs3DdKdHH0KtGUIGQ49_WUcAHNV-apQKS6clZzi-iiuhR7U-AoReCw' \
    -d '{"networkId":"78c3dd1b-f681-42f8-8af9-8970142a63fc","name":"Test App Wan 1663948738","serviceAttributes":["#service01"],"endpointAttributes":["#accessclients","@endpoint-1704"],"postureCheckAttributes":["#windows"]}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 924

{
  "id" : "cb0c9874-6fd1-4233-8caf-3d3f484fdf24",
  "ownerIdentityId" : "08d5a08f-1a82-4e0c-9fca-ca0552625a4b",
  "createdBy" : "08d5a08f-1a82-4e0c-9fca-ca0552625a4b",
  "createdAt" : "2022-09-23T15:58:58.796928Z",
  "updatedAt" : "2022-09-23T15:58:58.800473Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "name" : "Test App Wan 1663948738",
  "zitiId" : "d81b47a1-7171-4928-87af-16d0fb5146c2",
  "networkId" : "78c3dd1b-f681-42f8-8af9-8970142a63fc",
  "serviceAttributes" : [ "#service01" ],
  "endpointAttributes" : [ "#accessclients", "@endpoint-1704" ],
  "postureCheckAttributes" : [ "#windows" ],
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/78c3dd1b-f681-42f8-8af9-8970142a63fc",
      "profile" : "parent"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans/cb0c9874-6fd1-4233-8caf-3d3f484fdf24"
    }
  }
}

Update App Wan

PUT /app-wans/{id}

Authorization

This endpoint requires update action on the app-wan resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

serviceAttributes

Array[String]

true

endpointAttributes

Array[String]

true

postureCheckAttributes

Array[String]

true

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

zitiId

String

true

networkId

String

false

serviceAttributes

Array[String]

false

endpointAttributes

Array[String]

false

postureCheckAttributes

Array[String]

false

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/app-wans/ddcf17be-308d-4b9f-bf2d-698421e34ddf' -i -X PUT \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0VFhjM0xzMm10alFWZ2p2ZTFBc1Z3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjVjZTQyOTRlLWQ0N2QtNDVmZS04M2Y1LTU4OTc5OWI1ODdmNiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczNywiZXhwIjoxNjYzOTUyMzM3LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjI1NDVhNTgwLWE1MDMtNDUwYi1iZjcxLTk4Y2Y0N2Q0MGM2YlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczN31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.sKIA7ecopbeHyokUd8XVUM-4ZmAkePtmYQH92J32W3PlLG87ADxqSFGhsxKhhvnJm3LId_0heA0qUF-MtIUyquRhAbV-UyLoEF87hwpigeY3QgocMmuICehONDZ5lI1S9GK3hau7SaJBAyLoQ98ks4au7VKinws1Icj2m5KeG3YjHZjU1INuY79yxdl1LJZnQAS3L3iKqXXpMF-VfbYGiCQEbBYzAsP2UUH4Mdw18SZSIxmwTS1GB0o8Mm0DuT64jRkrrmVdVHdsA8gsTv9cMIlW4yiFx5xLkKtgzIPH3IbynHTEq4woURPepXIskhXD0BDsoikFJRXP0oi74XclXg' \
    -d '{"name":"Updated App Wan name","serviceAttributes":["#service03","#service02","#service01"],"endpointAttributes":["#usendpoints"],"postureCheckAttributes":["#windows"]}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 929

{
  "id" : "ddcf17be-308d-4b9f-bf2d-698421e34ddf",
  "ownerIdentityId" : "71020b59-7438-4bdb-b05e-8cf8f9a2f47f",
  "createdBy" : "71020b59-7438-4bdb-b05e-8cf8f9a2f47f",
  "createdAt" : "2022-09-23T15:58:57.934232Z",
  "updatedAt" : "2022-09-23T15:58:57.952069Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "name" : "Updated App Wan name",
  "zitiId" : "c22e0373-01d6-428a-83b5-42315422a094",
  "networkId" : "928cdcf4-b0ea-4ae2-bc99-fc1cbb564fe6",
  "serviceAttributes" : [ "#service03", "#service02", "#service01" ],
  "endpointAttributes" : [ "#usendpoints" ],
  "postureCheckAttributes" : [ "#windows" ],
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/networks/928cdcf4-b0ea-4ae2-bc99-fc1cbb564fe6",
      "profile" : "parent"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/app-wans/ddcf17be-308d-4b9f-bf2d-698421e34ddf"
    }
  }
}

Delete App Wan

DELETE /app-wans/{id}

Authorization

This endpoint requires delete action on the app-wan resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/app-wans/81d93b81-56dd-4448-8c24-b29324b1edcb' -i -X DELETE \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI3YXVJRDBnNTR5ZmJtNjQ5WU1ISW9RIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImNkOWQzMjQ3LWMyM2MtNDkwMC05Yzg4LTc4Nzc5ZWVjMWNjNiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODczNywiZXhwIjoxNjYzOTUyMzM3LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjU5NjRlZTBiLTRmNDMtNGJhMS05YTViLWIyNWQ4YTZmYmNjM1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODczN31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.daHXwcTpmiMUrenwYYJAu5DW0G3-b9w8k3k_mv6dIfpretf-2X3cjTTd-CmoaI1TzRXTeGaxv9v_Xzb48tRmSlWQpnyrBJi5k5FuYO4OakUVvlApVj46W1IODO3Tv3Cg_uqHGeRI4JUT2jcoRZ68yK0I3oojM37YaBo72jMod6IKcufP8o0fW7nqjZ82Aa1kKpCG-l6zY3Bo6eZekfiKRfKc1wMrw5KaZnPlwO0N-O6StZ2PUHmRBHpLxvOg5qwKnuo7U6joLnmchvC45nXANSAO7_0gkvNDkPvXF7f1D6__PGNI1nfLKmZssZnEvf9XKeZvTcwS5fA4_aVA4Qftuw'

Example response

HTTP/1.1 200 OK

Posture Checks

Find Posture Checks

GET /posture-checks

Authorization

This endpoint requires read action on the posture-check resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

deleted

Boolean

true

Deprecated..

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

zitiId

String

false

Size must be between 1 and 255 inclusive.

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkId

String

false

type

String

false

Must be one of [OS, PROCESS, DOMAIN, MAC, MFA, PROCESS_MULTI].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

attributes

Array[String]

false

data

Object

false

data.domains

Array[String]

false

data.macAddresses

Array[String]

false

data.timeoutSeconds

Integer

true

Must be at least 0.

data.promptOnWake

Boolean

true

data.promptOnUnlock

Boolean

true

data.ignoreLegacyEndpoints

Boolean

true

data.operatingSystems

Array[Object]

false

data.operatingSystems[].type

String

false

Must be one of [Windows, Android, iOS, Linux, macOS, WindowsServer].

data.operatingSystems[].versions

Array[String]

false

data.process

Object

false

data.process.osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.process.path

String

false

data.process.hashes

Array[String]

true

data.process.signerFingerprint

String

true

data.processes

Array[Object]

false

data.processes[].osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.processes[].path

String

false

data.processes[].hashes

Array[String]

true

data.processes[].signerFingerprints

Array[String]

true

data.semantic

String

true

Must be one of [AllOf, AnyOf].

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

zitiId

String

false

Size must be between 1 and 255 inclusive.

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkId

String

false

type

String

false

Must be one of [OS, PROCESS, DOMAIN, MAC, MFA, PROCESS_MULTI].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

attributes

Array[String]

false

data

Object

false

data.domains

Array[String]

false

data.macAddresses

Array[String]

false

data.timeoutSeconds

Integer

true

Must be at least 0.

data.promptOnWake

Boolean

true

data.promptOnUnlock

Boolean

true

data.ignoreLegacyEndpoints

Boolean

true

data.operatingSystems

Array[Object]

false

data.operatingSystems[].type

String

false

Must be one of [Windows, Android, iOS, Linux, macOS, WindowsServer].

data.operatingSystems[].versions

Array[String]

false

data.process

Object

false

data.process.osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.process.path

String

false

data.process.hashes

Array[String]

true

data.process.signerFingerprint

String

true

data.processes

Array[Object]

false

data.processes[].osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.processes[].path

String

false

data.processes[].hashes

Array[String]

true

data.processes[].signerFingerprints

Array[String]

true

data.semantic

String

true

Must be one of [AllOf, AnyOf].

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/posture-checks' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJwSV9zU1pqSW1NN25wb01OcnM0V3dBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjNjZGQ0MDI1LTc5NGEtNGVjYi1hY2Q1LWIxNjU2NzQ1NDRhMiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY2MywiZXhwIjoxNjYzOTUyMjYzLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjhjMzY4MzllLWVmM2EtNDVhYi1hMGFlLTRhY2UwZWNkNGRkMlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY2M31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.Q3lZrDiqZ-CsbXGYqKu3YqG23miizFfybNj56SmAtLmJXWZgWgCLVbfuSGfGWdvfHQd9o4pGwp78p4-Da7GU-hJRoNFAVej_39HroaT1N6cYynC-I-uwxdGLh3Ei2pBdbYEPQeJrjK2QiibG5L_OSqXUnfSxRjLWc9hKdvT7ssY7yt-L_owfMSoZgddDUssBv2-G320XSSyD2BleFl1oUGqEtiv7dR-S6zsH2BNIpl9Gf-m23ZA7IHBnNZ5jAnZ7KTsD3fIJz3L5XOSpsnRTuis6-Qx_UpnVrC1Caf-Qu2ICFRnTQn2GftPb734hHBBBKQ8GmsKFBEgaZgeaQxKqHw'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2284

{
  "_embedded" : {
    "postureCheckList" : [ {
      "id" : "07f4f21f-14ad-42f5-a224-a5fe228f2adb",
      "zitiId" : "zitiId-fake-5fbb278f-87c4-4e15-a105-0dbda6df42cc",
      "name" : "Find Test Posture Check 1",
      "networkId" : "49366262-2920-482f-aeaa-cd8e73e884fb",
      "type" : "DOMAIN",
      "ownerIdentityId" : "cdde36cf-cb66-4e88-ad6a-ca988f182de1",
      "createdBy" : "cdde36cf-cb66-4e88-ad6a-ca988f182de1",
      "createdAt" : "2022-09-23T15:57:43.010810Z",
      "updatedAt" : "2022-09-23T15:57:43.010810Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "attributes" : [ "#attr2", "#attr1" ],
      "data" : {
        "domains" : [ "abc.com" ]
      },
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/49366262-2920-482f-aeaa-cd8e73e884fb",
          "profile" : "parent"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks/07f4f21f-14ad-42f5-a224-a5fe228f2adb"
        }
      }
    }, {
      "id" : "d6d36392-64f0-4576-a21d-f6308c850e75",
      "zitiId" : "zitiId-fake-db92d96f-6b37-4c9e-a953-384bac34047f",
      "name" : "Find Test Posture Check 2",
      "networkId" : "49366262-2920-482f-aeaa-cd8e73e884fb",
      "type" : "DOMAIN",
      "ownerIdentityId" : "cdde36cf-cb66-4e88-ad6a-ca988f182de1",
      "createdBy" : "cdde36cf-cb66-4e88-ad6a-ca988f182de1",
      "createdAt" : "2022-09-23T15:57:43.024469Z",
      "updatedAt" : "2022-09-23T15:57:43.024469Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "attributes" : [ "#attr3", "#attr1" ],
      "data" : {
        "domains" : [ "abc.com" ]
      },
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/networks/49366262-2920-482f-aeaa-cd8e73e884fb",
          "profile" : "parent"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks/d6d36392-64f0-4576-a21d-f6308c850e75"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/posture-checks"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Get Posture Check

GET /posture-checks/{id}

Authorization

This endpoint requires read action on the posture-check resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

zitiId

String

false

Size must be between 1 and 255 inclusive.

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkId

String

false

type

String

false

Must be one of [OS, PROCESS, DOMAIN, MAC, MFA, PROCESS_MULTI].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

attributes

Array[String]

false

data

Object

false

data.domains

Array[String]

false

data.macAddresses

Array[String]

false

data.timeoutSeconds

Integer

true

Must be at least 0.

data.promptOnWake

Boolean

true

data.promptOnUnlock

Boolean

true

data.ignoreLegacyEndpoints

Boolean

true

data.operatingSystems

Array[Object]

false

data.operatingSystems[].type

String

false

Must be one of [Windows, Android, iOS, Linux, macOS, WindowsServer].

data.operatingSystems[].versions

Array[String]

false

data.process

Object

false

data.process.osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.process.path

String

false

data.process.hashes

Array[String]

true

data.process.signerFingerprint

String

true

data.processes

Array[Object]

false

data.processes[].osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.processes[].path

String

false

data.processes[].hashes

Array[String]

true

data.processes[].signerFingerprints

Array[String]

true

data.semantic

String

true

Must be one of [AllOf, AnyOf].

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/posture-checks/ddfa865a-e6a7-4a84-b64e-0c4217259b63' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJudG40b3BFaW83cU9uSFVhUTZnQmJnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU0NmM1MWVmLTRhODQtNGEzYy1hZWQ5LTUxNTI0YWFkNDRjZCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYwNCwiZXhwIjoxNjYzOTUyMjA0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjE4ZTNlMTcxLTM4MDMtNDM0NC04YWQ5LTk2NDI1YzEyZmJjZlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYwNH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.VHDkZ4-v7_UjwAe6Ph87KjGsr4rwK6MJwsA5vOa0cDALsjuGIwWhoBnTmvjCPKQTJpcS1x2xUGLo5j3AQ_QzYLtbklSzA-0lgzOwrfcePZmekES6zQD8YcrOzId9JsU1GTz09i8_BpMhndCAvnr56q6WVgZSeV7TyQ4tq7VSbUImyjY2DVpvRZOoaVF3PAj08xSdJI1HcHlJjf_Try6JXJQuNM09b8XE8GI0VdLm2PcSkFp_h-OA_L6mAiU878pnamC5432Uuj_IfTJ6tqcC-gS5JDq3aDyI8HbFWYPSk6gFHCxQom4oZ4TZlJLbDjMn_syBTeQbnr0b_X0R78cj-A'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 557

{
  "id" : "ddfa865a-e6a7-4a84-b64e-0c4217259b63",
  "zitiId" : "ziti.id.7nfcgmtf3z",
  "name" : "My Posture Check 776999273409392",
  "networkId" : "fdac5879-a25b-4fad-bc6b-d79d232cc86c",
  "type" : "DOMAIN",
  "ownerIdentityId" : "65c98b2b-01b3-4f6c-8977-6bae8acad8dd",
  "createdBy" : "65c98b2b-01b3-4f6c-8977-6bae8acad8dd",
  "createdAt" : "2022-09-23T15:56:39.732491Z",
  "updatedAt" : "2022-09-23T15:56:39.732491Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "attributes" : [ "#Attr-1", "#Attr-2" ],
  "data" : {
    "domains" : [ "abc.com" ]
  }
}

Create Posture Check

POST /posture-checks

Authorization

This endpoint requires create action on the posture-check resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

type

String

true

io.netfoundry.common.util.validation.ValidAs.
Must be one of [OS, PROCESS, DOMAIN, MAC, MFA, PROCESS_MULTI].

attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

data

Object

false

io.netfoundry.common.util.validation.ValidAs.

data.domains

Array[String]

false

data.macAddresses

Array[String]

false

data.timeoutSeconds

Integer

true

Must be at least 0.

data.promptOnWake

Boolean

true

data.promptOnUnlock

Boolean

true

data.ignoreLegacyEndpoints

Boolean

true

data.operatingSystems

Array[Object]

false

data.operatingSystems[].type

String

false

Must be one of [Windows, Android, iOS, Linux, macOS, WindowsServer].

data.operatingSystems[].versions

Array[String]

false

data.process

Object

false

data.process.osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.process.path

String

false

data.process.hashes

Array[String]

true

data.process.signerFingerprint

String

true

data.processes

Array[Object]

false

data.processes[].osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.processes[].path

String

false

data.processes[].hashes

Array[String]

true

data.processes[].signerFingerprints

Array[String]

true

data.semantic

String

true

Must be one of [AllOf, AnyOf].

Response fields

Path Type Optional Description

id

String

false

zitiId

String

false

Size must be between 1 and 255 inclusive.

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkId

String

false

type

String

false

Must be one of [OS, PROCESS, DOMAIN, MAC, MFA, PROCESS_MULTI].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

attributes

Array[String]

false

data

Object

false

data.domains

Array[String]

false

data.macAddresses

Array[String]

false

data.timeoutSeconds

Integer

true

Must be at least 0.

data.promptOnWake

Boolean

true

data.promptOnUnlock

Boolean

true

data.ignoreLegacyEndpoints

Boolean

true

data.operatingSystems

Array[Object]

false

data.operatingSystems[].type

String

false

Must be one of [Windows, Android, iOS, Linux, macOS, WindowsServer].

data.operatingSystems[].versions

Array[String]

false

data.process

Object

false

data.process.osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.process.path

String

false

data.process.hashes

Array[String]

true

data.process.signerFingerprint

String

true

data.processes

Array[Object]

false

data.processes[].osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.processes[].path

String

false

data.processes[].hashes

Array[String]

true

data.processes[].signerFingerprints

Array[String]

true

data.semantic

String

true

Must be one of [AllOf, AnyOf].

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/posture-checks' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIzYTlVcmdRazQ3WTM5TFUzMlVGTWdBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjY1Yzk4YjJiLTAxYjMtNGY2Yy04OTc3LTZiYWU4YWNhZDhkZCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODU5OSwiZXhwIjoxNjYzOTUyMTk5LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImQ3MTk3ZWIzLTk5N2YtNDdiOS04ZDI5LTVhZDk5ZTJkNDExNlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODU5OX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.eQJSXr-E9ER-sl4BUCPQL3IJGxQ0EzS87f6ukY_eeUJvm4NM8mf4EFntVD8d-ueFGhRMee3b2tHkvjar53d6Mjn2XtjS6IGYltTYSX8D8VjsYbSY-npJrLoq4OYtSots4vMtjEK4LuQvE9ZXsLr11GkBiPQWbv6eK1Zgy55KWCPGKR0gwraP9hSsuc928BBACqmRUz53n8dHPRMvzI80PxzFbjQzf3FLwXUg3SsQ1-_fPO4WqjhmBYaNHqnxu1DexvKfJhktllzCC4dTyOHhVrOcrL8G_WOM4uzydVj9cpT61a9iZqFM-RAs-HpVajYcySQgtvDEMTsXXeQ6taxQqg' \
    -d '{"name":"My Posture Check 776999273409392","networkId":"fdac5879-a25b-4fad-bc6b-d79d232cc86c","type":"DOMAIN","attributes":["#Attr-2","#Attr-1"],"data":{"domains":["abc.com"]}}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 557

{
  "id" : "ddfa865a-e6a7-4a84-b64e-0c4217259b63",
  "zitiId" : "ziti.id.7nfcgmtf3z",
  "name" : "My Posture Check 776999273409392",
  "networkId" : "fdac5879-a25b-4fad-bc6b-d79d232cc86c",
  "type" : "DOMAIN",
  "ownerIdentityId" : "65c98b2b-01b3-4f6c-8977-6bae8acad8dd",
  "createdBy" : "65c98b2b-01b3-4f6c-8977-6bae8acad8dd",
  "createdAt" : "2022-09-23T15:56:39.732491Z",
  "updatedAt" : "2022-09-23T15:56:39.732491Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "attributes" : [ "#Attr-1", "#Attr-2" ],
  "data" : {
    "domains" : [ "abc.com" ]
  }
}

Update Posture Check

PATCH /posture-checks/{id}

Authorization

This endpoint requires update action on the posture-check resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

type

String

true

Must be one of [OS, PROCESS, DOMAIN, MAC, MFA, PROCESS_MULTI].

attributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

ownerIdentityId

String

true

io.netfoundry.common.util.validation.ValidAs.

data

Object

true

data.domains

Array[String]

false

data.macAddresses

Array[String]

false

data.timeoutSeconds

Integer

true

Must be at least 0.

data.promptOnWake

Boolean

true

data.promptOnUnlock

Boolean

true

data.ignoreLegacyEndpoints

Boolean

true

data.operatingSystems

Array[Object]

false

data.operatingSystems[].type

String

false

Must be one of [Windows, Android, iOS, Linux, macOS, WindowsServer].

data.operatingSystems[].versions

Array[String]

false

data.process

Object

false

data.process.osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.process.path

String

false

data.process.hashes

Array[String]

true

data.process.signerFingerprint

String

true

data.processes

Array[Object]

false

data.processes[].osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.processes[].path

String

false

data.processes[].hashes

Array[String]

true

data.processes[].signerFingerprints

Array[String]

true

data.semantic

String

true

Must be one of [AllOf, AnyOf].

Response fields

Path Type Optional Description

id

String

false

zitiId

String

false

Size must be between 1 and 255 inclusive.

name

String

false

io.netfoundry.core.validation.ValidResourceName.

networkId

String

false

type

String

false

Must be one of [OS, PROCESS, DOMAIN, MAC, MFA, PROCESS_MULTI].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

attributes

Array[String]

false

data

Object

false

data.domains

Array[String]

false

data.macAddresses

Array[String]

false

data.timeoutSeconds

Integer

true

Must be at least 0.

data.promptOnWake

Boolean

true

data.promptOnUnlock

Boolean

true

data.ignoreLegacyEndpoints

Boolean

true

data.operatingSystems

Array[Object]

false

data.operatingSystems[].type

String

false

Must be one of [Windows, Android, iOS, Linux, macOS, WindowsServer].

data.operatingSystems[].versions

Array[String]

false

data.process

Object

false

data.process.osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.process.path

String

false

data.process.hashes

Array[String]

true

data.process.signerFingerprint

String

true

data.processes

Array[Object]

false

data.processes[].osType

String

false

Must be one of [Windows, WindowsServer, Android, iOS, Linux, macOS].

data.processes[].path

String

false

data.processes[].hashes

Array[String]

true

data.processes[].signerFingerprints

Array[String]

true

data.semantic

String

true

Must be one of [AllOf, AnyOf].

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/posture-checks/ddfa865a-e6a7-4a84-b64e-0c4217259b63' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJXdkhtd3d4WmhWNnpZWmQ3RnNvbm5RIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImRmZjhlMjg2LTZlZTctNDk5MC1iZDMzLWUyZmRiNzM4MjVjOCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYwOCwiZXhwIjoxNjYzOTUyMjA4LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjUwODVlOTI0LWViZDUtNDQwOS1hMTRhLTc2ZjY5ODY5YzMxNFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYwOH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.njhj45qbA6yKJ0NZxGtvWHuyuAkizQJdP7KnLUMQ_oAoUjcGhDasPTzIC1MDvNCyUivxE0DU0W8BuNpt-mx_FWQZPyK28Sxchg1m6xYsvSbIg8uCZHybI5JIyLGYTAEJaLhbOs3yYStZ6hIcje-1OO0Fdmk4YtXO5ofCr2I5RLI_8SFBqXXzUwBpVWl6YDQQp4k-9WY3WkKI1lSUDkutIEVvdIe1ro8CAkku6HVwOwNayae_qAH8c5G3IUpVWMMDdNI-CmDQwjPq9UZff7VMK7srr-myJViX11xE7VFk5RzCLKISFj13It5gAK-k8g7iJbBOhO9vUE_GR9P0iswa1Q' \
    -d '{"name":"Our Service 776999273409392","attributes":["#Attr-2","#Attr-4"]}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 552

{
  "id" : "ddfa865a-e6a7-4a84-b64e-0c4217259b63",
  "zitiId" : "ziti.id.7nfcgmtf3z",
  "name" : "Our Service 776999273409392",
  "networkId" : "fdac5879-a25b-4fad-bc6b-d79d232cc86c",
  "type" : "DOMAIN",
  "ownerIdentityId" : "65c98b2b-01b3-4f6c-8977-6bae8acad8dd",
  "createdBy" : "65c98b2b-01b3-4f6c-8977-6bae8acad8dd",
  "createdAt" : "2022-09-23T15:56:39.732491Z",
  "updatedAt" : "2022-09-23T15:56:48.854330Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "attributes" : [ "#Attr-4", "#Attr-2" ],
  "data" : {
    "domains" : [ "abc.com" ]
  }
}

Delete Posture Check

DELETE /posture-checks/{id}

Authorization

This endpoint requires delete action on the posture-check resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/posture-checks/ddfa865a-e6a7-4a84-b64e-0c4217259b63' -i -X DELETE \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJLUVhSbVBrekpoRkl2RGVYX28tY2RBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImU0ODE3Yjk5LTVhOTAtNGQwNy1iOGExLWE2Zjc1Yzc3MjRlZiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODYxMCwiZXhwIjoxNjYzOTUyMjEwLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImU3YzM3NDE3LTU2NDEtNGZiOC05Y2IyLTlmNTgyMzNkNzg0NlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODYxMH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.DZQBq-9p2H7i-n77ZanZ7-u_z11Ougoj_QL33qpgXcyGZgUjF1LLGn6KXHfJS2RDSN9RB0kgBjROL7ilMAkMvsUCd3jahaPgLe1dn8Ics4uLkfvERQ3jfHgo2nvJv57VqvCFhE_uQwrHdMofmPpiy8eY1CXjoVsx71pASNYpegx0ogBr1X9R5GjrgObV4gK7H_xxlT6Cji3qvSXGVstHxIGP7fqBuUvIH0pfKxiMMod8LiCXTtawdRUKQRYwemDcwXrYteFQgbspZB81z0ctEPDkjhmNbiKxEO2ed1hSV1hlk5tkVY_OC3WQE2qah4MDN_6HIq8HJTkmtbWDYJ9uxw'

Example response

HTTP/1.1 200 OK

Certificate Authorities

Find Certificate Authorities

GET /certificate-authorities

Authorization

This endpoint requires read action on the certificate-authority resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

isAutoCaEnrollment

Boolean

true

Deprecated..

isOttCaEnrollmentEnabled

Boolean

true

Deprecated..

isAuthEnabled

Boolean

true

Deprecated..

isVerified

Boolean

true

Deprecated..

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

endpointAttributes

Array[String]

false

verificationToken

String

true

fingerprint

String

true

jwt

String

true

certPem

String

false

identityNameFormat

String

true

Must match the regular expression [a-zA-Z0-9/:\-\\()\.,\$|!\[\]{}\+=_ ]*.
Size must be between 0 and 255 inclusive.

verified

Boolean

true

authEnabled

Boolean

true

autoCaEnrollmentEnabled

Boolean

true

ottCaEnrollmentEnabled

Boolean

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

endpointAttributes

Array[String]

false

verificationToken

String

true

fingerprint

String

true

jwt

String

true

certPem

String

false

identityNameFormat

String

true

Must match the regular expression [a-zA-Z0-9/:\-\\()\.,\$|!\[\]{}\+=_ ]*.
Size must be between 0 and 255 inclusive.

verified

Boolean

true

authEnabled

Boolean

true

autoCaEnrollmentEnabled

Boolean

true

ottCaEnrollmentEnabled

Boolean

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/certificate-authorities' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJjMlk3WVM0YzRlTUNuQzBhOVBNVnVnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjAwNTc0OGZjLTI2ODMtNDBjNy1iZTg0LWM0ZjY3MTE2OGIxMSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODU3MywiZXhwIjoxNjYzOTUyMTczLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjUzNTY3YWQ0LWQ3NjktNGFkNS1hMDk1LTZiYmQ1YTI2MmQxN1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODU3M31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.r2lLHDf7d9pAx_wBGjXBuGcJkmICpI0RUbYmtENGUdRcRMShhULx8LDGNdIEcZubER4A8sL71A9fnFjoaMwG0tng6OSrzaVJjTCd1v1ECFds293eafAEKT8tjoadCKfyOmGCIxSgPc_2u3s4xUQUDjAjHDRWv0kEuJBhw-vBv03LXjKVkhba68MwNSYaYdq3zbWpdGyU_GAAYm4mWY3QKQrj4b0Wfwy_NCwO79eEhMxmt1qAhiFwcFC55bT5iQ0VE6CxdF67iBB5ZHFYTrxw3CDpKgZB_1iQCL_sh0ce4D0Ed7Vp_80ODvUbZpmxyNsb53yC6f62sLtMh8qXWWOb_w'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 5517

{
  "_embedded" : {
    "certificateAuthorityList" : [ {
      "id" : "50b0ea98-25c7-4da9-bb0e-1d4c40e30b1b",
      "ownerIdentityId" : "61317941-ae2a-4cf7-939c-62a8e3c2419d",
      "createdBy" : "61317941-ae2a-4cf7-939c-62a8e3c2419d",
      "createdAt" : "2022-09-23T15:56:13.100602Z",
      "updatedAt" : "2022-09-23T15:56:13.107950Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "a59906f6-d557-49ed-b852-697452f1b130",
      "zitiId" : "ziti-id-45b95d9b-18cb-4aa9-8365-7e76a2498dd2",
      "name" : "ca-28",
      "endpointAttributes" : [ ],
      "verificationToken" : "token",
      "fingerprint" : "fingerprint",
      "jwt" : "jwt",
      "certPem" : "fake-pem",
      "identityNameFormat" : "name-format",
      "verified" : false,
      "authEnabled" : false,
      "autoCaEnrollmentEnabled" : false,
      "ottCaEnrollmentEnabled" : false,
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/a59906f6-d557-49ed-b852-697452f1b130"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/50b0ea98-25c7-4da9-bb0e-1d4c40e30b1b"
        }
      }
    }, {
      "id" : "ac928619-789a-47af-bfeb-3ebfbc995d70",
      "ownerIdentityId" : "fb4b980f-43c2-4251-8782-99501ce3619f",
      "createdBy" : "fb4b980f-43c2-4251-8782-99501ce3619f",
      "createdAt" : "2022-09-23T15:56:09.163874Z",
      "updatedAt" : "2022-09-23T15:56:09.181099Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "bd2a0ff6-35ef-43e9-a874-6936e258cd9c",
      "zitiId" : "ziti-id-319c025b-0c3d-4696-bc3d-4615eaa98ae3",
      "name" : "ca-10",
      "endpointAttributes" : [ ],
      "verificationToken" : "token",
      "fingerprint" : "fingerprint",
      "jwt" : "jwt",
      "certPem" : "fake-pem",
      "identityNameFormat" : "name-format",
      "verified" : false,
      "authEnabled" : false,
      "autoCaEnrollmentEnabled" : false,
      "ottCaEnrollmentEnabled" : false,
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/bd2a0ff6-35ef-43e9-a874-6936e258cd9c"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/ac928619-789a-47af-bfeb-3ebfbc995d70"
        }
      }
    }, {
      "id" : "b267773f-4e08-4768-a9f1-6b6fcd6c668e",
      "ownerIdentityId" : "877160d0-dd67-4fa0-981a-8f6a80111cf0",
      "createdBy" : "877160d0-dd67-4fa0-981a-8f6a80111cf0",
      "createdAt" : "2022-09-23T15:56:11.858755Z",
      "updatedAt" : "2022-09-23T15:56:11.881113Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "33418f1d-ec3f-4539-8867-0a88940fcbdb",
      "zitiId" : "d9a209c0-d96a-4004-b2e2-ec2724c2cd79",
      "name" : "Test ca 02",
      "endpointAttributes" : [ "#secureclients" ],
      "verificationToken" : null,
      "fingerprint" : null,
      "jwt" : null,
      "certPem" : "-----BEGIN CERTIFICATE-----MIIEujCCAqKgAwIBAgIRAL9YVv7hhgdfje0+onHqzogwDQYJKoZIhvcNAQELBQAwczELMAkGA1UEBhMCVVMxEjAQBgNVBAcTCUNoYXJsb3R0ZTETMBEGA1UEChMKTmV0Rm91bmRyeTEQMA4GA1UECxMHQURWLURFVjEpMCcGA1UEAxMgTmV0Rm91bmRyeSwgSW5jLiBJbnRlcm1lZGlhdGUgQ0EwHhcNMjEwMTE1MjEwMDU3WhcNMjIwMTE1MjEwMTU3WjBcMQswCQYDVQQGEwJVUzESMBAGA1UEBxMJQ2hhcmxvdHRlMRMwEQYDVQQKEwpOZXRGb3VuZHJ5MRAwDgYDVQQLEwdBRFYtREVWMRIwEAYDVQQDEwlrWHdMajA0WFQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJDRmC32XN31LU04Q4uh2uco+78sxCg8BzBbxQ7LrXRqdnfeuskoOx+b8OcA9Af4U9Co8rqrPaUR3y1bME5fIhZTFjesV3Z+V+dRyLlQQ6/tXybBwYeBUUwE/NSECx5jKXbLX3WgLISffxFToB5FVhX2okCkOPOOXiirKwUe9pCfWafnEJAevjH001nEMDh2Ir5Yny6PrU3SgRj9F1+aZ3kuattq89JybUofN1HHTGPOAUUzXIudhhFQC2HYGABGbxvoWBSFmM6i+oWHS9GOX5YnfApcbRDEiWHnGfQEPCOG3sRcA/NfPwV9wChyPMadgXNl+Pc9aFEOj20qmk/LK5AgMBAAGjYDBeMA4GA1UdDwEB/wQEAwIF4DAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBRERYGCL0A1YBMCUbxwz4sAk6cfkTAfBgNVHSMEGDAWgBTFYtjJ5IqMPUdx6X0KdeZqZratzzANBgkqhkiG9w0BAQsFAAOCAgEAekd7/VB1nWpLa/2iu7xz8C0MPnkczH4qvWSgoJ7tJ+bXqT4+CL3T4jk7kRFxAj6YXDaTyrhzlwtNxmmH0fcJ0NNXF+86pAAJWbjzgpy20YOy++R4FgJM0Mai6FRDeec94BdFV90ZDxfQ7UJtV3DXtzZAVZGUMo/hsPWi0g2LzJxj2jScugjHBl5rbdc8eQdenAg4Es47dac7sF4XBLocYZeyei4LxaAgVW+R8RmU+VrJv8HcTiRaweo5/47DxYTCg69LvKThf/ow2nS+BW1bHEyD7EI++UuBk/qwoSEtjpMaXlPzN4hMk/Ht7JeifYvWloz2VgJQm8C7O4jplUcVmHkL2OgpGhXiEidA5w1xBInuohQQIK+jSFh7sxG/Ck0EVNIE9BfOc6hhM6emL0xFDoNdSXEGLs4Fm4IaazJJxREJZoB2Cb5c7MKvO6EMF08xG2JNf2P9QiQu6nWZFmyh3wUKY6/LW6YlOhPAmbQ/gu0q+0UuzgnJU61vrIedekDK8q4ePvFZDEsXKg+gA14d5eGh4dRrOqvUZtyE8r6g8vUveQsOpjt7BML6p7kSXW6OGe2K5FrnF2vhJSbHd/zb+VFhm355ssqubCpNpfnrHGoquQVbXJ3HyFEQ0i+BugEUDDE2lIofz/qlq9x+vtb13CMIy1w5WLo3pCVTsufnZmo=-----END CERTIFICATE-----",
      "identityNameFormat" : "[commonName] - [identityId]",
      "verified" : false,
      "authEnabled" : false,
      "autoCaEnrollmentEnabled" : false,
      "ottCaEnrollmentEnabled" : false,
      "_links" : {
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/33418f1d-ec3f-4539-8867-0a88940fcbdb"
        },
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/b267773f-4e08-4768-a9f1-6b6fcd6c668e"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 8,
    "totalPages" : 1,
    "number" : 0
  }
}

Get Certificate Authority

GET /certificate-authorities/{id}

Authorization

This endpoint requires read action on the certificate-authority resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

endpointAttributes

Array[String]

false

verificationToken

String

true

fingerprint

String

true

jwt

String

true

certPem

String

false

identityNameFormat

String

true

Must match the regular expression [a-zA-Z0-9/:\-\\()\.,\$|!\[\]{}\+=_ ]*.
Size must be between 0 and 255 inclusive.

verified

Boolean

true

authEnabled

Boolean

true

autoCaEnrollmentEnabled

Boolean

true

ottCaEnrollmentEnabled

Boolean

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/certificate-authorities/011e6367-2e10-4fc5-9a48-24f89065c33e' -i -X GET \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJBVU8xLTZ1eWxNUU9Zc01jSW4tS1VBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6Ijg3ODM4ZWFkLTA3ZjAtNDQ5My04OGZkLTlhNTdlZGExY2RiMiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODU3NSwiZXhwIjoxNjYzOTUyMTc1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImY0MTAxMjNmLWViY2MtNDcwMS05NzRjLWQ1ZWQwMDU5MDU4YlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODU3NX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.cLfzy_9rIbHpNpyU7fGiXT_KE-N3HQRiivs8VbEsZuTONwfCZavf-iGzXkQN6dYXjlW0jTe926LYjrzKThZtkBrWWjMeeE_4WTO6zH9r1rbXT5GFa9xpNoJk5vyeGSzOeIGM5jtD0qNB57aPTSd2Hvlk8ohJ8DkGllEGra1bjBBsl4eu7ODSGyJFKZkuvWH2GSO3ga85p5jb7ComfQrUYGpNKpuODSAwnJjALrYnwx8xueOcqOUoc8USzN9KknaM9ypR8PVqLDozkInQ15PTDLVvPzVlBU9osf5XB-dpQiiIc-vj4Pi-6wFBxeIIsUd6nq-uS6Job8DHQ-NSno-ftw'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1063

{
  "id" : "011e6367-2e10-4fc5-9a48-24f89065c33e",
  "ownerIdentityId" : "c239fb0c-06df-40e5-915f-d25e2d120e77",
  "createdBy" : "c239fb0c-06df-40e5-915f-d25e2d120e77",
  "createdAt" : "2022-09-23T15:56:15.167447Z",
  "updatedAt" : "2022-09-23T15:56:15.171318Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "networkId" : "05637962-e3d4-45dd-b0b0-602995ddfccf",
  "zitiId" : "ziti-id-7198e081-ef9a-49ba-90b5-9a53b9d6fae2",
  "name" : "ca-52",
  "endpointAttributes" : [ ],
  "verificationToken" : "token",
  "fingerprint" : "fingerprint",
  "jwt" : "jwt",
  "certPem" : "fake-pem",
  "identityNameFormat" : "name-format",
  "verified" : false,
  "authEnabled" : false,
  "autoCaEnrollmentEnabled" : false,
  "ottCaEnrollmentEnabled" : false,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/05637962-e3d4-45dd-b0b0-602995ddfccf"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/011e6367-2e10-4fc5-9a48-24f89065c33e"
    }
  }
}

Create Certificate Authority

POST /certificate-authorities

Authorization

This endpoint requires create action on the certificate-authority resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

networkId

String

true

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

name

String

true

io.netfoundry.common.util.validation.ValidAs.

autoCaEnrollmentEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

authEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

ottCaEnrollmentEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

certPem

String

false

Size must be between 100 and 2147483647 inclusive.

endpointAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

identityNameFormat

String

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

endpointAttributes

Array[String]

false

verificationToken

String

true

fingerprint

String

true

jwt

String

true

certPem

String

false

identityNameFormat

String

true

Must match the regular expression [a-zA-Z0-9/:\-\\()\.,\$|!\[\]{}\+=_ ]*.
Size must be between 0 and 255 inclusive.

verified

Boolean

true

authEnabled

Boolean

true

autoCaEnrollmentEnabled

Boolean

true

ottCaEnrollmentEnabled

Boolean

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/certificate-authorities' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJyVzFmVGM3VmZkanRQVUMwX2NlQl93IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImMxYWM0MGIxLTcxMGMtNDA1NC04YzVlLTE3NTYwODllNDQ3YSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODU2OSwiZXhwIjoxNjYzOTUyMTY5LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjQ2YzI5MDM2LTEwNTYtNGRmMS04Y2U5LWJjZDJmMzU1ZDY3Y1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODU2OX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.VVNTrE533B8ZT0HAxk6fKraIjprF_ZfJJhAB3a1cCFOsATgmsd-654SHL4JRm23VXHtFcU62ezvDrRX5zgjVHvI82k_Cxye8428T5ix7PoBfmUu5NJFjfhfSzwIIhjFft31RJvnF98prGHY73HGG_lrhyCdz9-jXsC4sM9jPergD5KrN9MSDFponRatVssOTDgSo_KRez_V8t7dUusRSKIHEVOaWpXpX3KfixdZI3RIVv3uPdHhZ5fD1idphAIxYQDhkIzM9-FAmuZ98YfvrsO6UAJ7OSeR0ZrburAHPjaFWS1ISmucvAd8uVdZl0SXZ4wE1pq7PLgeOsgluv_4rGQ' \
    -d '{"networkId":"bd2a0ff6-35ef-43e9-a874-6936e258cd9c","name":"Test ca 02","autoCaEnrollmentEnabled":true,"authEnabled":false,"ottCaEnrollmentEnabled":false,"certPem":"-----BEGIN CERTIFICATE-----\nMIIEujCCAqKgAwIBAgIRAL9YVv7hhgdfje0+onHqzogwDQYJKoZIhvcNAQELBQAw\nczELMAkGA1UEBhMCVVMxEjAQBgNVBAcTCUNoYXJsb3R0ZTETMBEGA1UEChMKTmV0\nRm91bmRyeTEQMA4GA1UECxMHQURWLURFVjEpMCcGA1UEAxMgTmV0Rm91bmRyeSwg\nSW5jLiBJbnRlcm1lZGlhdGUgQ0EwHhcNMjEwMTE1MjEwMDU3WhcNMjIwMTE1MjEw\nMTU3WjBcMQswCQYDVQQGEwJVUzESMBAGA1UEBxMJQ2hhcmxvdHRlMRMwEQYDVQQK\nEwpOZXRGb3VuZHJ5MRAwDgYDVQQLEwdBRFYtREVWMRIwEAYDVQQDEwlrWHdMajA0\nWFQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJDRmC32XN31LU04Q4\nuh2uco+78sxCg8BzBbxQ7LrXRqdnfeuskoOx+b8OcA9Af4U9Co8rqrPaUR3y1bME\n5fIhZTFjesV3Z+V+dRyLlQQ6/tXybBwYeBUUwE/NSECx5jKXbLX3WgLISffxFToB\n5FVhX2okCkOPOOXiirKwUe9pCfWafnEJAevjH001nEMDh2Ir5Yny6PrU3SgRj9F1\n+aZ3kuattq89JybUofN1HHTGPOAUUzXIudhhFQC2HYGABGbxvoWBSFmM6i+oWHS9\nGOX5YnfApcbRDEiWHnGfQEPCOG3sRcA/NfPwV9wChyPMadgXNl+Pc9aFEOj20qmk\n/LK5AgMBAAGjYDBeMA4GA1UdDwEB/wQEAwIF4DAMBgNVHRMBAf8EAjAAMB0GA1Ud\nDgQWBBRERYGCL0A1YBMCUbxwz4sAk6cfkTAfBgNVHSMEGDAWgBTFYtjJ5IqMPUdx\n6X0KdeZqZratzzANBgkqhkiG9w0BAQsFAAOCAgEAekd7/VB1nWpLa/2iu7xz8C0M\nPnkczH4qvWSgoJ7tJ+bXqT4+CL3T4jk7kRFxAj6YXDaTyrhzlwtNxmmH0fcJ0NNX\nF+86pAAJWbjzgpy20YOy++R4FgJM0Mai6FRDeec94BdFV90ZDxfQ7UJtV3DXtzZA\nVZGUMo/hsPWi0g2LzJxj2jScugjHBl5rbdc8eQdenAg4Es47dac7sF4XBLocYZey\nei4LxaAgVW+R8RmU+VrJv8HcTiRaweo5/47DxYTCg69LvKThf/ow2nS+BW1bHEyD\n7EI++UuBk/qwoSEtjpMaXlPzN4hMk/Ht7JeifYvWloz2VgJQm8C7O4jplUcVmHkL\n2OgpGhXiEidA5w1xBInuohQQIK+jSFh7sxG/Ck0EVNIE9BfOc6hhM6emL0xFDoNd\nSXEGLs4Fm4IaazJJxREJZoB2Cb5c7MKvO6EMF08xG2JNf2P9QiQu6nWZFmyh3wUK\nY6/LW6YlOhPAmbQ/gu0q+0UuzgnJU61vrIedekDK8q4ePvFZDEsXKg+gA14d5eGh\n4dRrOqvUZtyE8r6g8vUveQsOpjt7BML6p7kSXW6OGe2K5FrnF2vhJSbHd/zb+VFh\nm355ssqubCpNpfnrHGoquQVbXJ3HyFEQ0i+BugEUDDE2lIofz/qlq9x+vtb13CMI\ny1w5WLo3pCVTsufnZmo=\n-----END CERTIFICATE-----","endpointAttributes":["#secureclients"]}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 2719

{
  "id" : "dce5e396-b9c4-4527-8395-baa9263e0316",
  "ownerIdentityId" : "c1ac40b1-710c-4054-8c5e-1756089e447a",
  "createdBy" : "c1ac40b1-710c-4054-8c5e-1756089e447a",
  "createdAt" : "2022-09-23T15:56:10.304405Z",
  "updatedAt" : "2022-09-23T15:56:10.343347Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "networkId" : "bd2a0ff6-35ef-43e9-a874-6936e258cd9c",
  "zitiId" : "fcc4e9c9-65d2-4407-b008-b674fb5b8e3b",
  "name" : "Test ca 02",
  "endpointAttributes" : [ "#secureclients" ],
  "verificationToken" : null,
  "fingerprint" : null,
  "jwt" : null,
  "certPem" : "-----BEGIN CERTIFICATE-----MIIEujCCAqKgAwIBAgIRAL9YVv7hhgdfje0+onHqzogwDQYJKoZIhvcNAQELBQAwczELMAkGA1UEBhMCVVMxEjAQBgNVBAcTCUNoYXJsb3R0ZTETMBEGA1UEChMKTmV0Rm91bmRyeTEQMA4GA1UECxMHQURWLURFVjEpMCcGA1UEAxMgTmV0Rm91bmRyeSwgSW5jLiBJbnRlcm1lZGlhdGUgQ0EwHhcNMjEwMTE1MjEwMDU3WhcNMjIwMTE1MjEwMTU3WjBcMQswCQYDVQQGEwJVUzESMBAGA1UEBxMJQ2hhcmxvdHRlMRMwEQYDVQQKEwpOZXRGb3VuZHJ5MRAwDgYDVQQLEwdBRFYtREVWMRIwEAYDVQQDEwlrWHdMajA0WFQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDJDRmC32XN31LU04Q4uh2uco+78sxCg8BzBbxQ7LrXRqdnfeuskoOx+b8OcA9Af4U9Co8rqrPaUR3y1bME5fIhZTFjesV3Z+V+dRyLlQQ6/tXybBwYeBUUwE/NSECx5jKXbLX3WgLISffxFToB5FVhX2okCkOPOOXiirKwUe9pCfWafnEJAevjH001nEMDh2Ir5Yny6PrU3SgRj9F1+aZ3kuattq89JybUofN1HHTGPOAUUzXIudhhFQC2HYGABGbxvoWBSFmM6i+oWHS9GOX5YnfApcbRDEiWHnGfQEPCOG3sRcA/NfPwV9wChyPMadgXNl+Pc9aFEOj20qmk/LK5AgMBAAGjYDBeMA4GA1UdDwEB/wQEAwIF4DAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBRERYGCL0A1YBMCUbxwz4sAk6cfkTAfBgNVHSMEGDAWgBTFYtjJ5IqMPUdx6X0KdeZqZratzzANBgkqhkiG9w0BAQsFAAOCAgEAekd7/VB1nWpLa/2iu7xz8C0MPnkczH4qvWSgoJ7tJ+bXqT4+CL3T4jk7kRFxAj6YXDaTyrhzlwtNxmmH0fcJ0NNXF+86pAAJWbjzgpy20YOy++R4FgJM0Mai6FRDeec94BdFV90ZDxfQ7UJtV3DXtzZAVZGUMo/hsPWi0g2LzJxj2jScugjHBl5rbdc8eQdenAg4Es47dac7sF4XBLocYZeyei4LxaAgVW+R8RmU+VrJv8HcTiRaweo5/47DxYTCg69LvKThf/ow2nS+BW1bHEyD7EI++UuBk/qwoSEtjpMaXlPzN4hMk/Ht7JeifYvWloz2VgJQm8C7O4jplUcVmHkL2OgpGhXiEidA5w1xBInuohQQIK+jSFh7sxG/Ck0EVNIE9BfOc6hhM6emL0xFDoNdSXEGLs4Fm4IaazJJxREJZoB2Cb5c7MKvO6EMF08xG2JNf2P9QiQu6nWZFmyh3wUKY6/LW6YlOhPAmbQ/gu0q+0UuzgnJU61vrIedekDK8q4ePvFZDEsXKg+gA14d5eGh4dRrOqvUZtyE8r6g8vUveQsOpjt7BML6p7kSXW6OGe2K5FrnF2vhJSbHd/zb+VFhm355ssqubCpNpfnrHGoquQVbXJ3HyFEQ0i+BugEUDDE2lIofz/qlq9x+vtb13CMIy1w5WLo3pCVTsufnZmo=-----END CERTIFICATE-----",
  "identityNameFormat" : null,
  "verified" : false,
  "authEnabled" : false,
  "autoCaEnrollmentEnabled" : false,
  "ottCaEnrollmentEnabled" : false,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/bd2a0ff6-35ef-43e9-a874-6936e258cd9c"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/dce5e396-b9c4-4527-8395-baa9263e0316"
    }
  }
}

Verify Certificate Authority

POST /certificate-authorities/{id}/verify

Authorization

This endpoint requires update action on the certificate-authority resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

endpointAttributes

Array[String]

false

verificationToken

String

true

fingerprint

String

true

jwt

String

true

certPem

String

false

identityNameFormat

String

true

Must match the regular expression [a-zA-Z0-9/:\-\\()\.,\$|!\[\]{}\+=_ ]*.
Size must be between 0 and 255 inclusive.

verified

Boolean

true

authEnabled

Boolean

true

autoCaEnrollmentEnabled

Boolean

true

ottCaEnrollmentEnabled

Boolean

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/certificate-authorities/50b0ea98-25c7-4da9-bb0e-1d4c40e30b1b/verify' -i -X POST \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJGRHNSdXRETEVRMEtIZjROYXlOa19BIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImQ2MTM0MjY5LTJlYmYtNDdkZC05Nzg1LWY0ZjQ2Y2FjMDUzOCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODU3MywiZXhwIjoxNjYzOTUyMTczLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImE5OGMyMzExLWU1NGItNDJmZS1hYmQ1LTBiNjFhM2JhY2UzNVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODU3M31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.Xpt1wzDO_NpZz1rfrXtoB35_FoJgeb2rIU8YzvGc2Ra-7aPCUtVTYoPEhvb30ontCERk3Ms47g-WyJnLf63T_t-Xh2mDKS4O3uQaEbRNRmL1yUH0NS7VwVUkSiaNqbhB-CHGS4UPWBvNC4Fg-iqKo5uI15uGgEVdj9p53s7dccTdv53MX1CM_kjV6gZgTxWkQ_vSKNwzCNPoxhaTk7EkKg5KMS_aGavx5cu806N85xpUAyS-LMwbuov_v7yV-eZD1pIKwqN8GD1GtFcjrtR-Uk05CKdv50vFpiEVUE__s8aubAR-nKFU6WmYOzenlVkhf2F6YTa8oPGYPhrepPURBQ' \
    -d '<testcertverificationbody>'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1063

{
  "id" : "50b0ea98-25c7-4da9-bb0e-1d4c40e30b1b",
  "ownerIdentityId" : "61317941-ae2a-4cf7-939c-62a8e3c2419d",
  "createdBy" : "61317941-ae2a-4cf7-939c-62a8e3c2419d",
  "createdAt" : "2022-09-23T15:56:13.100602Z",
  "updatedAt" : "2022-09-23T15:56:13.107950Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "networkId" : "a59906f6-d557-49ed-b852-697452f1b130",
  "zitiId" : "ziti-id-45b95d9b-18cb-4aa9-8365-7e76a2498dd2",
  "name" : "ca-28",
  "endpointAttributes" : [ ],
  "verificationToken" : "token",
  "fingerprint" : "fingerprint",
  "jwt" : "jwt",
  "certPem" : "fake-pem",
  "identityNameFormat" : "name-format",
  "verified" : false,
  "authEnabled" : false,
  "autoCaEnrollmentEnabled" : false,
  "ottCaEnrollmentEnabled" : false,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/a59906f6-d557-49ed-b852-697452f1b130"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/50b0ea98-25c7-4da9-bb0e-1d4c40e30b1b"
    }
  }
}

Patch Certificate Authority

PATCH /certificate-authorities/{id}

Authorization

This endpoint requires update action on the certificate-authority resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

autoCaEnrollmentEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

authEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

ottCaEnrollmentEnabled

Boolean

true

io.netfoundry.common.util.validation.ValidAs.

endpointAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

identityNameFormat

String

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

endpointAttributes

Array[String]

false

verificationToken

String

true

fingerprint

String

true

jwt

String

true

certPem

String

false

identityNameFormat

String

true

Must match the regular expression [a-zA-Z0-9/:\-\\()\.,\$|!\[\]{}\+=_ ]*.
Size must be between 0 and 255 inclusive.

verified

Boolean

true

authEnabled

Boolean

true

autoCaEnrollmentEnabled

Boolean

true

ottCaEnrollmentEnabled

Boolean

true

Path Optional Description

self

false

network

false

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/certificate-authorities/c9a233ca-afb6-4aff-93d6-b776eb505934' -i -X PATCH \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJPZjl3LWsxUmU1cUFhV3RDcVF4ZGdnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjBjMjRhYmE2LWFhYWEtNGM4MC1iZmY5LTgzMGI1NjQ3YmI4ZCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODU3MiwiZXhwIjoxNjYzOTUyMTcyLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImE0MDI5MzMwLTk1NjAtNGU5Ni04NjEzLTI2NTE2NmFiY2M5ZlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODU3Mn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.BUDg8zkwrGv2zXpjeEtoZ-ZiyNNoyPHZZbRSrtPBtQnseNCmcTWZIOt-_h9MxYHmR0ZkJaV9TbNhH9fIK_oHlmUfYd626dZITu3dFNwThwLb_RQllI4zPvuaxQcsE2-v-vU9hMiNX-5XMCBfX8X4jhMXubr8-Hk3VHOkqmQ2wGpHv2HXGuyXjuztieEARY5CrO1zT9Ehc9jgH9Ky9sLB92uKkmFU9tQjquZtf30DFmeVeEifklW6cgMoICuS9eUSt2w2K6vKxlbzuBs1b007bTaMpUUsX1rYr6WZdv4mW6AC9Z9TyuP8rmQWvqE5_6hCoeVyIIZ38CMe2sluAc9G9A' \
    -d '{"name":"Test ca 02 updated"}'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8
Content-Length: 1063

{
  "id" : "c9a233ca-afb6-4aff-93d6-b776eb505934",
  "ownerIdentityId" : "892096c3-14a7-48b7-8a99-621a41c1ce86",
  "createdBy" : "892096c3-14a7-48b7-8a99-621a41c1ce86",
  "createdAt" : "2022-09-23T15:56:12.448101Z",
  "updatedAt" : "2022-09-23T15:56:12.466480Z",
  "deletedBy" : null,
  "deletedAt" : null,
  "networkId" : "55a9c167-5f40-48bc-b2ae-c3fcdcd539b7",
  "zitiId" : "ziti-id-4706962f-cc1f-4962-9b17-7c6535e57042",
  "name" : "ca-22",
  "endpointAttributes" : [ ],
  "verificationToken" : "token",
  "fingerprint" : "fingerprint",
  "jwt" : "jwt",
  "certPem" : "fake-pem",
  "identityNameFormat" : "name-format",
  "verified" : false,
  "authEnabled" : false,
  "autoCaEnrollmentEnabled" : false,
  "ottCaEnrollmentEnabled" : false,
  "_links" : {
    "network" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/55a9c167-5f40-48bc-b2ae-c3fcdcd539b7"
    },
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/c9a233ca-afb6-4aff-93d6-b776eb505934"
    }
  }
}

Delete Certificate Authority

DELETE /certificate-authorities/{id}

Authorization

This endpoint requires delete action on the certificate-authority resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/certificate-authorities/bb24d8d7-911b-4276-b414-90a1054a1971' -i -X DELETE \
    -H 'Content-Type: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwSzJoT1JBaE9MaWdTU2RIM2hXWktBIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImE5MTU4YjEzLTE5MmYtNGZmYS04NDI4LTcwYzkwNDYyZWQ5MCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODU3MywiZXhwIjoxNjYzOTUyMTczLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjViNGFjYzI3LTU0NjMtNGUzNy1hZWRhLThjMDMzODA5Y2E0ZlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODU3M31dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.HdBk7iLxp494b_ZXvawGaTiMpMbLfqjLCySCwaEhOfdI58pXEQz6hS-BGRPLTbMyHqYrrL6YP2Dle5EAbIJIcFOkGCFf9_1Gv6e87I2cmsLVTref8vcmxZ4GbJeET6-AL4fMjOEllIXJ6QmQucz0eOa_BxfEULuptV84DNzJ19MISeDnVbZb49s9jZmT7pJa5igwfmakNpqQibThhzhILJ_tchz4FmeIIFmnXulQhxgWPnEwDvH9H-o5rqyuNV_u14Ymn9Xj07o8pCanernrlOwb6MQY41qHHTNAa57sbTw5s554_OCGIKpcKf2qwG_VADOrJFX7Ck0huUEv0WTN_w'

Example response

HTTP/1.1 200 OK

Find Certificate Authorities

GET /certificate-authorities

Authorization

This endpoint requires read action on the certificate-authority resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Parameter Type Optional Description

isAutoCaEnrollment

Boolean

true

Deprecated..

isOttCaEnrollmentEnabled

Boolean

true

Deprecated..

isAuthEnabled

Boolean

true

Deprecated..

isVerified

Boolean

true

Deprecated..

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

endpointAttributes

Array[String]

false

verificationToken

String

true

fingerprint

String

true

jwt

String

true

certPem

String

false

identityNameFormat

String

true

Must match the regular expression [a-zA-Z0-9/:\-\\()\.,\$|!\[\]{}\+=_ ]*.
Size must be between 0 and 255 inclusive.

verified

Boolean

true

authEnabled

Boolean

true

autoCaEnrollmentEnabled

Boolean

true

ottCaEnrollmentEnabled

Boolean

true

Path Optional Description

self

false

network

false

Embedded resources

Path Type Optional Description

id

String

false

ownerIdentityId

String

true

createdBy

String

true

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

networkId

String

false

zitiId

String

false

name

String

false

io.netfoundry.core.validation.ValidResourceName.

endpointAttributes

Array[String]

false

verificationToken

String

true

fingerprint

String

true

jwt

String

true

certPem

String

false

identityNameFormat

String

true

Must match the regular expression [a-zA-Z0-9/:\-\\()\.,\$|!\[\]{}\+=_ ]*.
Size must be between 0 and 255 inclusive.

verified

Boolean

true

authEnabled

Boolean

true

autoCaEnrollmentEnabled

Boolean

true

ottCaEnrollmentEnabled

Boolean

true

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/certificate-authorities' -i -X GET \
    -H 'Accept: application/hal+json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJQV0xXeGkzWEJLell6amdKa0NVMXBnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImIyODEyODViLTdkZGItNDc2OS05ZTczLTE3NjEyMmE5NGFmNiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY0MSwiZXhwIjoxNjYzOTUyMjQxLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImU2NzY1MjM5LTUwOGMtNGI4OS1hMmFhLWZhMTI2ZjliYjZjNVwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY0MX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.T7IGAkuXRb49L8mmvpMq6iq5SeI32Zjjv8Qm4-DOryuwwb-RGUVMBDDKGn2iPuKReCElneNeOzyeQH_OhzIKeDLaCsq3T1Sisr2dqW8AXz390CcRK488VqEPnM5iPWXQNmBNaBHGn1BKABD-Mz8R2_f-VibdS8fmYvCsA43rDSPnzMfwT7dI0nZexHrYB_WX2Ful5FHLNAxrM4EBFVTQdUBPfPmu8eQrRawM10y6EJP_FoKGNAQ51lG7nEzYrQilBBJsezVTcM--fC2zfn7g32Vd2okpkDQMnIDKsBkWDn6ITQII6D6eD7bha1Bfx5KEMsvvh0q_enldD79LtW-IAQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/hal+json
Content-Length: 2669

{
  "_embedded" : {
    "certificateAuthorityList" : [ {
      "id" : "0e5c3527-5c4e-4f5e-9311-b26827aa700b",
      "ownerIdentityId" : "30469404-7320-4825-a81d-63dff21ea97f",
      "createdBy" : "30469404-7320-4825-a81d-63dff21ea97f",
      "createdAt" : "2022-09-23T15:57:21.549955Z",
      "updatedAt" : "2022-09-23T15:57:21.560357Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "27fd596c-8bd0-444f-87ef-c03d441eb3ce",
      "zitiId" : "ziti-id-acd3e8cb-a8e0-4b2e-bda4-a9114e387e98",
      "name" : "Find Test CA 1",
      "endpointAttributes" : [ ],
      "verificationToken" : "token",
      "fingerprint" : "fingerprint",
      "jwt" : "jwt",
      "certPem" : "fake-pem",
      "identityNameFormat" : "name-format",
      "verified" : false,
      "authEnabled" : false,
      "autoCaEnrollmentEnabled" : false,
      "ottCaEnrollmentEnabled" : false,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/0e5c3527-5c4e-4f5e-9311-b26827aa700b"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/27fd596c-8bd0-444f-87ef-c03d441eb3ce"
        }
      }
    }, {
      "id" : "3fd23253-7c52-4ddf-b358-5368e34c04fc",
      "ownerIdentityId" : "30469404-7320-4825-a81d-63dff21ea97f",
      "createdBy" : "30469404-7320-4825-a81d-63dff21ea97f",
      "createdAt" : "2022-09-23T15:57:21.571133Z",
      "updatedAt" : "2022-09-23T15:57:21.575297Z",
      "deletedBy" : null,
      "deletedAt" : null,
      "networkId" : "27fd596c-8bd0-444f-87ef-c03d441eb3ce",
      "zitiId" : "ziti-id-a2851e1b-5873-437e-b936-9ecf2263e938",
      "name" : "Find Test CA 2",
      "endpointAttributes" : [ ],
      "verificationToken" : "token",
      "fingerprint" : "fingerprint",
      "jwt" : "jwt",
      "certPem" : "fake-pem",
      "identityNameFormat" : "name-format",
      "verified" : true,
      "authEnabled" : true,
      "autoCaEnrollmentEnabled" : true,
      "ottCaEnrollmentEnabled" : true,
      "_links" : {
        "self" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/3fd23253-7c52-4ddf-b358-5368e34c04fc"
        },
        "network" : {
          "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities/27fd596c-8bd0-444f-87ef-c03d441eb3ce"
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://gateway.production.netfoundry.io/core/v2/certificate-authorities"
    }
  },
  "page" : {
    "size" : 3500,
    "totalElements" : 2,
    "totalPages" : 1,
    "number" : 0
  }
}

Service Edge Router Policies

Find Service Edge Router Policies

GET /service-edge-router-policies

Authorization

This endpoint requires read action on the service-edge-router-policy resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

semantic

String

false

Must be one of [AllOf, AnyOf].

serviceAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJKLUZzMVJyY1pSRnBnOUh3cGY3OXZRIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6ImUzNjYwMDRhLTI0ZWMtNGM5ZC1iOGMyLTA0NDM2OWM1NzcxZSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcwNSwiZXhwIjoxNjYzOTUyMzA1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImEyOWU2YWYwLWMyNTEtNDIzNi04YzY4LTZmYzVkNjY4ZDE3M1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcwNX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.G91lsWVFgrtZIdZcOjw4EUw9BwTupqFl7jZsJaqp3hccsF_zkM9ZabLJ3gg0Aeuqzx8j2JvU0QNjlLTdpUTrWa82OmznJoX7eXkY-IxU53an1K1oqyBT1O5ZN9sQ4qHEh1X1ZPc1NqY9GepGHuVIUineAWdliGaVof887mrfAl5PRe1eqDWxOJA0-5HETLJCZR1AvEpPEY40VroyqewlyvwegsuetdyLASfDungyQBolswXUygJ20wKvNvVFem81C0jCyOUQm65AgzabLUN5PTzi_KJQskThtIp_jIMrO3mMP9UVhxcfXtx2V6sWNKd16SrkEZAij_rFRHF5HjanrQ'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1739

[ {
  "id" : "4e388748-c36e-49b7-a331-7c42ab347299",
  "networkId" : "f933d8d8-953f-45f6-9e1e-b42f4bd6cf6c",
  "zitiId" : "ziti.id.7ngooppzgw",
  "name" : "My Service Edge Router Policy 777112705636488",
  "semantic" : "AnyOf",
  "serviceAttributes" : [ "#router-3" ],
  "edgeRouterAttributes" : [ "#service-1", "#service-5" ],
  "exclusiveType" : null,
  "ownerIdentityId" : "baeea8ba-f600-40eb-a668-80d762bd634a",
  "createdBy" : "baeea8ba-f600-40eb-a668-80d762bd634a",
  "createdAt" : "2022-09-23T15:58:24.643284Z",
  "updatedAt" : "2022-09-23T15:58:24.705139Z",
  "deletedBy" : null,
  "deletedAt" : null
}, {
  "id" : "6d3a2e93-0665-4d05-8009-31d2b32e36b0",
  "networkId" : "807410d5-6bc0-4521-a662-4578e6bff23f",
  "zitiId" : null,
  "name" : "erp-369",
  "semantic" : "AnyOf",
  "serviceAttributes" : [ ],
  "edgeRouterAttributes" : [ ],
  "exclusiveType" : null,
  "ownerIdentityId" : "4ec329a8-21d6-4989-bb99-14e72d412f74",
  "createdBy" : "4ec329a8-21d6-4989-bb99-14e72d412f74",
  "createdAt" : "2022-09-23T15:57:50.973463Z",
  "updatedAt" : "2022-09-23T15:57:50.973463Z",
  "deletedBy" : null,
  "deletedAt" : null
}, {
  "id" : "df35c210-93fe-463c-8d45-dd4e21142f06",
  "networkId" : "773f3b8e-3afb-4eea-875e-918b8e4eff6d",
  "zitiId" : "ziti.id.7ngoqn71of",
  "name" : "My Service Edge Router Policy 777112708717520",
  "semantic" : "AnyOf",
  "serviceAttributes" : [ "#router-3" ],
  "edgeRouterAttributes" : [ "#service-1", "#service-5" ],
  "exclusiveType" : null,
  "ownerIdentityId" : "53fb050c-2446-416a-a388-4cad9ec5ff5d",
  "createdBy" : "53fb050c-2446-416a-a388-4cad9ec5ff5d",
  "createdAt" : "2022-09-23T15:58:24.772912Z",
  "updatedAt" : "2022-09-23T15:58:24.821270Z",
  "deletedBy" : null,
  "deletedAt" : null
} ]

Get Service Edge Router Policy

GET /service-edge-router-policies/{id}

Authorization

This endpoint requires read action on the service-edge-router-policy resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

semantic

String

false

Must be one of [AllOf, AnyOf].

serviceAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies/df35c210-93fe-463c-8d45-dd4e21142f06' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI1aHAwS2NYYzlOaVotc0dubDJmVkZ3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjdlZWI2NjI3LTA5N2EtNDIzMi04NTk3LTM5YWMyMmU1YWMzOSIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcwNCwiZXhwIjoxNjYzOTUyMzA0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjE4NDI1ODU3LTk0N2UtNGQ0NS05ODYwLThjZmYwMzQ4MDc5ZFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcwNH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.lHKc4UkT9jCYoZk7etQrbj-RZuHRYyaeTHa37nUW66IvDqvJ0zqM5epTVXYXyLUDh24BRcG4ptvh5yJ4dALbyjzEcEklkL4BTK--2g_lpasQli7P-NrjjHbXq5WTktnpBky2md9GIPOqOuJjfA2REQ_08CjRsuf1712bVGgfbx2O7CkWNDN5Rxd4jheTxcGqQOTROuQRq92MCMtbFdDYgbgYvNlo5wsBJ-3lwnsiK3UILUZRCR4lF8x1MUNyYj_rx2UDVLLDnOxyvb9kfQx3zDXuHkvFsoDaHPUxhO0bDwepBP2A3_resHpUqCHek1oEjJt4Ni3eGH9EtSYSGlLAeg'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 621

{
  "id" : "df35c210-93fe-463c-8d45-dd4e21142f06",
  "networkId" : "773f3b8e-3afb-4eea-875e-918b8e4eff6d",
  "zitiId" : "ziti.id.7ngoqn71of",
  "name" : "My Service Edge Router Policy 777112708717520",
  "semantic" : "AnyOf",
  "serviceAttributes" : [ "#service-2", "#service-1" ],
  "edgeRouterAttributes" : [ "#router-1", "#router-2" ],
  "exclusiveType" : null,
  "ownerIdentityId" : "53fb050c-2446-416a-a388-4cad9ec5ff5d",
  "createdBy" : "53fb050c-2446-416a-a388-4cad9ec5ff5d",
  "createdAt" : "2022-09-23T15:58:24.772912Z",
  "updatedAt" : "2022-09-23T15:58:24.821270Z",
  "deletedBy" : null,
  "deletedAt" : null
}

Create Service Edge Router Policy

POST /service-edge-router-policies

Authorization

This endpoint requires create action on the service-edge-router-policy resource type.

Path parameters

No parameters.

Query parameters

No parameters.

Request fields

Path Type Optional Description

networkId

String

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.
io.netfoundry.common.util.validation.ValidAs.

name

String

false

io.netfoundry.common.util.validation.ValidAs.

semantic

String

false

io.netfoundry.common.util.validation.ValidAs.
Must be one of [AllOf, AnyOf].

edgeRouterAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

serviceAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

semantic

String

false

Must be one of [AllOf, AnyOf].

serviceAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies' -i -X POST \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJJaHEwU2E2M2VZUV9YTjdlRGRrd2dnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjUzZmIwNTBjLTI0NDYtNDE2YS1hMzg4LTRjYWQ5ZWM1ZmY1ZCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcwNCwiZXhwIjoxNjYzOTUyMzA0LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjRhMzA0NjJmLWFmYjMtNGM3NC04YjlmLTFhZDc0M2UzNTk0NFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcwNH1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.C_A_COmsNI66E1oRPfdK5ziOF7RahgzfVZG0hDf42TufiZ7774nOWtrYPbRBKYGAg2-0T-q_pKLKzaKS7Ujx0RlueMFDpdaovA8cxlRd5gVHSh4raR92pkCDYky-VlUjnFACkevOtuMa1My8JcEDrjTSq_pYktFUHTK3o5wYcwqzUJ2VDBRw4aMErEi9ssL8tXad9Dt9IiX4X3WbCn3aukyFkh2-6IMLHN1NXjKW1r7jaGmDtoJ70lmFifQxOXYUgMCGObhga0qmz-ZwCskvxn2sEWIGEGZJmypv3Nl41EYUcszCtOK52o09OSiRMe7WYW4BiXD-h2wrNqOCPVjZTw' \
    -d '{"networkId":"773f3b8e-3afb-4eea-875e-918b8e4eff6d","name":"My Service Edge Router Policy 777112708717520","semantic":"AnyOf","edgeRouterAttributes":["#router-2","#router-1"],"serviceAttributes":["#service-2","#service-1"]}'

Example response

HTTP/1.1 202 Accepted
Content-Type: application/json
Content-Length: 621

{
  "id" : "df35c210-93fe-463c-8d45-dd4e21142f06",
  "networkId" : "773f3b8e-3afb-4eea-875e-918b8e4eff6d",
  "zitiId" : "ziti.id.7ngoqn71of",
  "name" : "My Service Edge Router Policy 777112708717520",
  "semantic" : "AnyOf",
  "serviceAttributes" : [ "#service-2", "#service-1" ],
  "edgeRouterAttributes" : [ "#router-1", "#router-2" ],
  "exclusiveType" : null,
  "ownerIdentityId" : "53fb050c-2446-416a-a388-4cad9ec5ff5d",
  "createdBy" : "53fb050c-2446-416a-a388-4cad9ec5ff5d",
  "createdAt" : "2022-09-23T15:58:24.772912Z",
  "updatedAt" : "2022-09-23T15:58:24.821270Z",
  "deletedBy" : null,
  "deletedAt" : null
}

Update Service Edge Router Policy

PATCH /service-edge-router-policies/{id}

Authorization

This endpoint requires update action on the service-edge-router-policy resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

Path Type Optional Description

name

String

true

io.netfoundry.common.util.validation.ValidAs.

semantic

String

true

io.netfoundry.common.util.validation.ValidAs.
Must be one of [AllOf, AnyOf].

serviceAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

edgeRouterAttributes

Array[String]

true

io.netfoundry.common.util.validation.ValidAs.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

semantic

String

false

Must be one of [AllOf, AnyOf].

serviceAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

edgeRouterAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies/df35c210-93fe-463c-8d45-dd4e21142f06' -i -X PATCH \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJWUGRvUjZqM1NsLWd4bXlYNS0xeE5nIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjU3YWUxN2Q3LTE2YmYtNGY1OC05MWJiLTkyZTU1MGE3ZjdkNCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcwNSwiZXhwIjoxNjYzOTUyMzA1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjNkOTExODExLWFmZGUtNGU4Ni04M2ZhLTgwNjkwZmQwNzA1OFwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcwNX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.Y1X9uQgUkaBs_r7QDR-uK4dKO92APNQO0BhnXMcYmOIsMHQh29EmUdxklTaC6I5P-b2RB52Z_CphV8PZSKHS9dghdYtohAnFTdHUMpXUDCUytYc5hwwNQkfpw2UYohVo-7cKDqI6nylMKHLnrMiK0MJ0RExdQR6gkcGpEbPiYDNMOcgUTAeibyV0pTxLqm_68Nvoi1aeJt2UxwnKmBNnGFfhL1_2nAqTETd9K2_xCCMRT_JL53sIFFk8PSvexNsyYwoOBOEmNKE3pgZkpl6WGHcVjJ005dQZcueK1-H92d4_Ha0qSQsc6JhtJg4STOBjI6BHayO_e_b8XEeYntZpZg' \
    -d '{"name":"My Service Edge Router Policy 777112708717520","semantic":"AllOf","serviceAttributes":["#router-3"],"edgeRouterAttributes":["#service-5","#service-1"]}'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 608

{
  "id" : "df35c210-93fe-463c-8d45-dd4e21142f06",
  "networkId" : "773f3b8e-3afb-4eea-875e-918b8e4eff6d",
  "zitiId" : "ziti.id.7ngoqn71of",
  "name" : "My Service Edge Router Policy 777112708717520",
  "semantic" : "AnyOf",
  "serviceAttributes" : [ "#router-3" ],
  "edgeRouterAttributes" : [ "#service-1", "#service-5" ],
  "exclusiveType" : null,
  "ownerIdentityId" : "53fb050c-2446-416a-a388-4cad9ec5ff5d",
  "createdBy" : "53fb050c-2446-416a-a388-4cad9ec5ff5d",
  "createdAt" : "2022-09-23T15:58:24.772912Z",
  "updatedAt" : "2022-09-23T15:58:24.821270Z",
  "deletedBy" : null,
  "deletedAt" : null
}

Delete Service Edge Router Policy

DELETE /service-edge-router-policies/{id}

Authorization

This endpoint requires delete action on the service-edge-router-policy resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

No response body.

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/service-edge-router-policies/df35c210-93fe-463c-8d45-dd4e21142f06' -i -X DELETE \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJKMERyZ21TN3F3TDVZOE9TbG1fX1lnIiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjljMTQzNDUzLWMzOWQtNDFhNi05NWVlLWQ4ZWJmYTIxNzRlNCIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODcwNSwiZXhwIjoxNjYzOTUyMzA1LCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcIjE1MWUwOTc1LWRlZGQtNGNhMC05NDExLTBiZDdmYTY3MmRiMlwiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODcwNX1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.mpyNfg3M6Ij4HGdNcLvWTc7IjCHaGwYPyhCCUn5kDUS2XsFYj0SxA8WfPpd0mEZgcw6yGsVMdIzB4_XZZCFONO_qKDhy6NThgWVcWAwPDRde2k7mGF7uCh4a7hHJciQwPyKbfUhUJn9qkBR0qiPormaZlQbXQDDwa1dlKmKkFWW60Lpd79ztstTA78rvGSbdc9EEsnUrATq9NuTkd2KJl_P-2TCPCbd8hFHTXPhz7TNcE0bCpjE9JSw7opQsPlXDOTHY6vujXZsgwkftP2zFKSPYAJd-6-Q88x30Fv-siBXBJEzajy8MBqlCyuQo2EK8JJU-tlRTY93YqtDe5cGJpg'

Example response

HTTP/1.1 200 OK

Service Policies

Find Service Policies

GET /service-policies

Authorization

This endpoint requires read action on the service-policy resource type.

Path parameters

No parameters.

Query parameters

Supports standard paging query parameters.

Request fields

No request body.

Response fields

Standard paging response where content field is list of following objects:

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

type

String

false

Must be one of [Dial, Bind].

semantic

String

false

Must be one of [AllOf, AnyOf].

serviceAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

postureCheckAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false

updatedAt

String

false

deletedBy

String

true

deletedAt

String

true

No links.

Embedded resources

No embedded resources.

Example request

$ curl 'https://gateway.production.netfoundry.io/core/v2/service-policies' -i -X GET \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJYYzFpMHo3Ri1zVjhXTUJDUmQ4NVR3IiwiaXNzIjoiTmV0Rm91bmRyeSIsInN1YiI6IjY0NjMwOTU1LTY0N2YtNDJmYS05NjlmLWM2NTgxYzFmNzNmNiIsImF1ZCI6ImlvLm5ldGZvdW5kcnkubmV0d29yayIsImlhdCI6MTY2Mzk0ODY3MiwiZXhwIjoxNjYzOTUyMjcyLCJncmFudHMtc3VwZXIiOiJbXSIsImdyYW50cy1jdXN0b20iOiJbXSIsImdyYW50cy1wdWJsaWMiOiJbXSIsImdyYW50cy1hY3Rpb24iOiJbe1wiaWRcIjpcImZlZDUzZDU2LWM2OWEtNDMyOC05MGNmLWYwNjA5NzkwOThiY1wiLFwibGFzdE1vZGlmaWVkXCI6MTY2Mzk0ODY3Mn1dIiwiZ3JhbnRzLXN0YW5kYXJkIjoiW10ifQ.S64JJuliP97mCccydw_PaeSJDJFLDstK_VCu2RChbryToqo06eY7pk5ed8qFv4goK6n0iZazcwyYIQrPFDuoj9t88m9t2E-12t2xW4VM-kwQJcKC6w2oNMhfe7S1Ui_kjkZh1NmN7zpGuM-zUvTDRyyAGvQ8QkCWJSy65hyAEHdidn3kHpyGoQHXaSAodGA9oE43gjTbMArAnu5AD5QTeT4p4qfSwaegfEcNkvDiLqFbS9r5QCcOhIvuZ4h1ZohV4pn-YkSLefBIfQp-exjV2RLCjZvsIyC679U_R05pRMZloksdYIRNA_K1ag3Z34jEKjEjs2rnqOrx18gFwTt7og'

Example response

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1954

[ {
  "id" : "0e07cb3d-fe40-457b-9499-45efe1cf6fa3",
  "networkId" : "ea813750-4abb-4fbd-a42e-15fce3e83b82",
  "zitiId" : "c6102a68-63d2-4029-9599-bd1659e8456f",
  "name" : "AppWan C",
  "type" : "Dial",
  "semantic" : "AnyOf",
  "serviceAttributes" : [ "@Service C" ],
  "endpointAttributes" : [ "@Endpoint C" ],
  "postureCheckAttributes" : [ ],
  "exclusiveType" : null,
  "ownerIdentityId" : "6b7f20ea-2757-4ef1-8208-d70d283a25f0",
  "createdBy" : "6b7f20ea-2757-4ef1-8208-d70d283a25f0",
  "createdAt" : "2022-09-23T15:57:34.807953Z",
  "updatedAt" : "2022-09-23T15:57:34.809642Z",
  "deletedBy" : null,
  "deletedAt" : null
}, {
  "id" : "16286c19-8401-4871-aec5-62b0c4f6576a",
  "networkId" : "89315976-22e6-4223-8c54-5358b2534788",
  "zitiId" : "ziti.id.7ng9hhofgz",
  "name" : "My Service Policy 777079431156008",
  "type" : "Bind",
  "semantic" : "AllOf",
  "serviceAttributes" : [ "#service-1", "#service-5" ],
  "endpointAttributes" : [ "#endpoint-3" ],
  "postureCheckAttributes" : [ "#posture-2", "#posture-3", "#posture-1" ],
  "exclusiveType" : null,
  "ownerIdentityId" : "4b83c85b-5b86-418e-a965-830fe05fc774",
  "createdBy" : "4b83c85b-5b86-418e-a965-830fe05fc774",
  "createdAt" : "2022-09-23T15:57:51.568362Z",
  "updatedAt" : "2022-09-23T15:57:51.973919Z",
  "deletedBy" : null,
  "deletedAt" : null
}, {
  "id" : "1bce1dd9-d187-474e-b3c7-7b71e4ae8234",
  "networkId" : "7bae7485-2b8d-4db5-9453-ffce75dc06cc",
  "zitiId" : "080f592b-70bd-43ec-b7e0-863ae90b4417",
  "name" : "AppWan A",
  "type" : "Dial",
  "semantic" : "AnyOf",
  "serviceAttributes" : [ "@Service A" ],
  "endpointAttributes" : [ "@Endpoint A" ],
  "postureCheckAttributes" : [ ],
  "exclusiveType" : null,
  "ownerIdentityId" : "939a94a3-43fa-4674-b3ba-ca5b69051750",
  "createdBy" : "939a94a3-43fa-4674-b3ba-ca5b69051750",
  "createdAt" : "2022-09-23T15:57:34.458015Z",
  "updatedAt" : "2022-09-23T15:57:34.459693Z",
  "deletedBy" : null,
  "deletedAt" : null
} ]

Get Service Policy

GET /service-policies/{id}

Authorization

This endpoint requires read action on the service-policy resource type.

Path parameters

Parameter Type Optional Description

id

Object

false

Client lacks authorization for the '{action}' action on the '{resourceDesc}' resource over the {pathDesc} resource path.

Query parameters

No parameters.

Request fields

No request body.

Response fields

Path Type Optional Description

id

String

false

networkId

String

false

zitiId

String

true

name

String

false

io.netfoundry.core.validation.ValidResourceName.

type

String

false

Must be one of [Dial, Bind].

semantic

String

false

Must be one of [AllOf, AnyOf].

serviceAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

endpointAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

postureCheckAttributes

Array[String]

false

#all, when used in an attribute list, must be the only value in the list.

exclusiveType

String

true

Must be one of [app-wan, endpoint, service, edge-router, edge-router-policy, certificate-authority, posture-check, service-edge-router-policy].

ownerIdentityId

String

false

createdBy

String

false

createdAt

String

false