Get boundary

Returns a boundary with its basic information

Returns: a json object with meta data for the requested boundary

:param int boundary_Id: id of the boundary you want to retrieve

def get_boundary(self, boundary_Id) -> Dict:

    url = self.caseserver_url + "/boundaries/" + str(boundary_Id)

    response = requests.get(url, headers=self.get_header)

    if(response.ok): 
        print("boundary retrieved successfully \n", response.text, "\n")
        return response.json()
    else: 
        logger.error(f"boundary retrieval failed: {response.content}")
        raise Exception
Language
Credentials
Header
Click Try It! to start a request and see the response here!