isogeo_pysdk.api.routes_conformity module

Isogeo API v1 - API Routes for Conformity entities

See: http://help.isogeo.com/api/complete/index.html

class isogeo_pysdk.api.routes_conformity.ApiConformity(api_client=None)[source]

Bases: object

Routes as methods of Isogeo API used to manipulate conformity with specifications.

create(metadata: isogeo_pysdk.models.metadata.Metadata, conformity: isogeo_pysdk.models.conformity.Conformity) → isogeo_pysdk.models.conformity.Conformity[source]

Add a new conformity (specification + specific conformant) to a metadata.

Parameters:
  • metadata (Metadata) – metadata object to update
  • conformity (Conformity) – conformity to create
delete(metadata: isogeo_pysdk.models.metadata.Metadata, conformity: isogeo_pysdk.models.conformity.Conformity = None, specification_id: str = None) → requests.models.Response[source]

Removes a conformity from a metadata.

Parameters:
  • metadata (Metadata) – metadata object to update
  • conformity (Conformity) – specification model object to associate. If empty, the specification_id must be passed.
  • specification_id (Specification) – specification model object to associate. If empty, the conformity must be passed.
listing[source]

List metadata’s conformity specifications with complete information.

Parameters:metadata_id (str) – metadata UUID
Returns:the list of specifications + conformity status associated with the metadata
Return type:list