isogeo_pysdk.api.routes_application module
Isogeo API v1 - API Routes for Applications entities
See: http://help.isogeo.com/api/complete/index.html
- class isogeo_pysdk.api.routes_application.ApiApplication(api_client=None)
Bases:
object
Routes as methods of Isogeo API used to manipulate applications.
- associate_group(application, workgroup, force=0)
Associate a application with a workgroup.
- Parameters
application (Application) – Application model object to update
workgroup (Workgroup) – object to associate
force (bool) – option to force association with multiple groups changing the canHaveManyGroups property
- Return type
- create(application, check_exists=1)
Add a new application to Isogeo.
- Parameters
check_exists (int) – check if a application already exists inot the workgroup:
0 = no check
1 = compare name [DEFAULT]
- Parameters
application (class) – Application model object to create
- Return type
- delete(application_id)
Delete a application from Isogeo database.
- Parameters
application_id (str) – identifier of the resource to delete
- dissociate_group(application, workgroup)
Removes the association between the specified group and the specified application.
- Parameters
application (Application) – Application model object to update
workgroup (Workgroup) – object to associate
- Return type
- exists(application_id)
Check if the specified application exists and is available for the authenticated user.
- get(application_id, include=('_abilities', 'groups'))
Get details about a specific application.
- Parameters
- Return type
- listing(workgroup_id=None, include=('_abilities',), caching=1)
Get all applications which are accessible by the authenticated user OR applications for a workgroup.