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 :
objectRoutes as methods of Isogeo API used to manipulate applications.
- associate_group(application, workgroup, force=0)
Associate a application with a workgroup.
- Paramètres:
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
- Type renvoyé:
- create(application, check_exists=1)
Add a new application to Isogeo.
- Paramètres:
check_exists (int) – check if a application already exists inot the workgroup:
- Type renvoyé:
0 = no check
1 = compare name [DEFAULT]
- Paramètres:
application (class) – Application model object to create
- delete(application_id)
Delete a application from Isogeo database.
- Paramètres:
application_id (str) – identifier of the resource to delete
- dissociate_group(application, workgroup)
Removes the association between the specified group and the specified application.
- Paramètres:
application (Application) – Application model object to update
workgroup (Workgroup) – object to associate
- Type renvoyé:
- 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.
- Paramètres:
- Type renvoyé:
- listing(workgroup_id=None, include=('_abilities',), caching=1)
Get all applications which are accessible by the authenticated user OR applications for a workgroup.