In order to better align with the inclusive language guidelines, The Freeze Window API is the new API endpoint replacing Blackout Window API.
NOTE #1: In 5.18.0 both /blackout and /freeze API are supported and /blackout API is deprecated will be phased out in 5.19.0.
/freeze
Methods
Gets the list of Freeze Windows.
NOTE #1: Only users in the FreezeWindow owner's group may view target details. For users outside of the group: Repository, Assets, ipList, and allIPs will be returned {}, [], "", and "false" respectively.
NOTE #2: If a Repository or Asset associated with a FreezeWindow has been deleted, the ID will be returned as '-1'. If one has been unshared, the ID will be similarly returned as -1, but the name will signify the Asset ID.
NOTE #3: The "status" field represents if the FreezeWindow has been disabled via bad Repository and if it has been degrade via Asset. The "functional" field represents if there are any valid target IPs in the FreezeWindow (allIPs, ipList, assets) in the FreezeWindow owner's context.
Fields Parameter
Request Parameters
None
Example Response
Adds a Freeze Window.
NOTE: If 'allIPs' is 'false', an 'ipList' and/or at least one 'assets' parameter must be provided. If 'allIPs' is 'true', the back-end will clear the target (ipList, assets, and repository) fields.
Request Parameters
Example Response
/freeze/{id}
Methods
Gets the Freeze Window associated with {id}.
NOTE #1: Only users in the FreezeWindow owner's group may view target details. For users outside of the group: Repository, Assets, ipList, and allIPs will be returned {}, [], "", and "false" respectively.
NOTE #2: If a Repository or Asset associated with a FreezeWindow has been deleted, the ID will be returned as '-1'. If one has been unshared, the ID will be similarly returned as -1, but the name will signify the Asset ID.
NOTE #3: The "status" field represents if the FreezeWindow has been disabled via bad Repository and if it has been degrade via Asset. The "functional" field represents if there are any valid target IPs in the FreezeWindow (allIPs, ipList, assets) in the FreezeWindow owner's context.
Fields Parameter
Request Parameters
None
Example Response
Edits the Freeze Window associated with {id}, changing only the passed in fields.
NOTE: Users that are not in the same group as the FreezeWindow owner can ONLY patch non-target fields (i.e. name, description, and enabled).
Request Parameters
(All fields are optional)
See /freeze::POST for parameters.
Example Response
Deletes the Freeze Window associated with {id}, depending on access and permissions.
Request Parameters
None