isogeo_pysdk.api.routes_service_operations module

Isogeo API v1 - API Routes for ServiceOperations entities

See: http://help.isogeo.com/api/complete/index.html#tag-operation

class isogeo_pysdk.api.routes_service_operations.ApiServiceOperation(api_client=None)

Bases: object

Routes as methods of Isogeo API used to manipulate service_operations.

create(metadata, operation)

Add a new operation to a metadata (= resource).

Parameters
  • metadata (Metadata) – metadata (resource) to edit. Must be a service.

  • ServiceOperation (ServiceOperation) – service_operation object to create

Return type

ServiceOperation

listing(metadata)

Get all operations of a metadata service.

Parameters

metadata (Metadata) – metadata (resource) to edit. Must be type of service.

Return type

list

operation(metadata_id, operation_id)

Get details about a specific service operation and expand the model with the parent service metadata ‘_id’ reference.

Parameters
  • metadata_id (str) – metadata with operations

  • operation_id (str) – service operation UUID

Return type

ServiceOperation