Fortinet white logo
Fortinet white logo

Expansion

Expansion

Sometimes items in a collection have fewer details compared to a JSON response for each individual item. You can use the identifiers in the collection to get details about each item.

For example, a GET request to the URL:

https://HOST_OR_IP/api/v1/CameraVideoProfile/

responds with a collection of video profiles, where each mkey attribute's value is the name of a profile. To view details about a specific profile, put the mkey value on the end of the next GET request URL:

https://HOST_OR_IP/api/v1/CameraVideoProfile/YOUR_VIDEO_PROFILE_NAME

Tooltip

Use URL encoding if the name of an item on FortiRecorder contains non-ASCII or reserved characters such as spaces, &, #, ?, and ü.

Some REST API clients such as Postman or Insomnia encode URLs automatically. Examples with curl in this document, however, show the URL as you would manually type or paste it, without automatic encoding. For example, instead of a space in a URL, you might see:

%20

Expansion

Expansion

Sometimes items in a collection have fewer details compared to a JSON response for each individual item. You can use the identifiers in the collection to get details about each item.

For example, a GET request to the URL:

https://HOST_OR_IP/api/v1/CameraVideoProfile/

responds with a collection of video profiles, where each mkey attribute's value is the name of a profile. To view details about a specific profile, put the mkey value on the end of the next GET request URL:

https://HOST_OR_IP/api/v1/CameraVideoProfile/YOUR_VIDEO_PROFILE_NAME

Tooltip

Use URL encoding if the name of an item on FortiRecorder contains non-ASCII or reserved characters such as spaces, &, #, ?, and ü.

Some REST API clients such as Postman or Insomnia encode URLs automatically. Examples with curl in this document, however, show the URL as you would manually type or paste it, without automatic encoding. For example, instead of a space in a URL, you might see:

%20