smia_ism.external_infrastructures.smia_kb_infrastructure module¶
- class smia_ism.external_infrastructures.smia_kb_infrastructure.SMIAKBInfrastructure[source]¶
Bases:
objectClass to store information about the SMIA KB infrastructure.
- SMIA_KB_OPEN_API_VERSION = '/api/v3'¶
- SMIA_KB_OPEN_API_COMMON_HEADERS = {'Accept': 'application/json'}¶
- classmethod get_capability_url(capability_iri)[source]¶
This method returns the URL to obtain the information of a specific Capability within SMIA KB in JSON format. The Capability identifier must be added Base64-URL-encoded.
- classmethod get_capabilities_url()[source]¶
This method returns the URL to obtain the information of all Capabilities within SMIA KB in JSON format.
- classmethod get_assets_of_capability_url(capability_iri)[source]¶
This method returns the URL to obtain the information of a specific Capability within SMIA KB in JSON format. The Capability identifier must be added Base64-URL-encoded.
- classmethod get_skills_url()[source]¶
This method returns the URL to obtain the information of all Skills within SMIA KB in JSON format.