networkapi.api_rest package¶
Submodules¶
networkapi.api_rest.authentication module¶
networkapi.api_rest.exceptions module¶
- exception networkapi.api_rest.exceptions.EnvironmentEnvironmentVipNotBoundedException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'There is no link between environment and environment vip.'¶
- status_code = 400¶
- exception networkapi.api_rest.exceptions.NetworkAPIException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'Failed to access the data source.'¶
- status_code = 500¶
- exception networkapi.api_rest.exceptions.ObjectDoesNotExistException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'Object Does Not Exist.'¶
- status_code = 404¶
- exception networkapi.api_rest.exceptions.ScriptException(detail=None)[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'Failed to execute script.'¶
- status_code = 400¶
- exception networkapi.api_rest.exceptions.UserDoesNotHavePermAPIException(param='You do not have permission to perform this action.')[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'You do not have permission to perform this action.'¶
- status_code = 403¶
- exception networkapi.api_rest.exceptions.ValidationAPIException(param='Validation Bad Request.')[source]¶
Bases: rest_framework.exceptions.APIException
- default_detail = 'Validation Bad Request.'¶
- status_code = 400¶