Gets the errors for the organization. Args: self (Client): The instance of the Client class. org_name (str): The identifier for the organization. Returns: Any: A JSON-encoded response from the API.
(self, org_name)
| 182 | return api_response |
| 183 | |
| 184 | def get_organization_errors(self, org_name): |
| 185 | """Gets the errors for the organization. |
| 186 | |
| 187 | Args: |
| 188 | self (Client): The instance of the Client class. |
| 189 | org_name (str): The identifier for the organization. |
| 190 | |
| 191 | Returns: |
| 192 | Any: A JSON-encoded response from the API. |
| 193 | """ |
| 194 | |
| 195 | url = '/v1/organizations/%s/errors' % org_name |
| 196 | response = self.getHelper(url) |
| 197 | return response.json() |
| 198 | |
| 199 | def get_user_errors(self, user_id): |
| 200 | """Gets the errors for a specific user. |