Interface Library API

The Interface Library OData API enables you to manage Interface Library Element's properties in SAP Cloud ALM.

Documentation

SAP API Business Hub: SAP Cloud ALM Cross Library InterfacesInformation published on SAP site

Type

Pull API

URL Format

https://{tenant}.{region}.alm.cloud.sap/api/calm-crosslibraryinterfaces/v1

Operations

  • GET /Interfaces/{uuid} Retrieve one single Interface

  • POST /Interfaces Create a Interface element

  • GET /Interfaces Retrieve all or a subset of Interface elements

  • PATCH /Interfaces/{uuid} Update an Interface element (Note that an error is raised if the Interface has been "Marked for Deletion" by an End-user from the Calm UI)

  • DELETE /Interfaces/{uuid} Delete an Interface element

Relations Management

  • GET /Interfaces/{uuid}/toLibraryAssignments retrieve a list of library assignments (to Application, Interface, Configuration, Development).

Operations Related to Tags

  • GET /Interfaces/{uuid}/toTagAssignments retrieves a list of Tag assignments of an Interface

Operation Related to External References

/ExternalReferences/{uuid}/toInterface Retrieves Interface of an External Reference

Authorizations

Users require the following scopes for full API access:

calm-api.library.read

Read access to library entities

calm-api.library.write

Write access to library entities

calm-api.library.delete

Delete access library entities

Note that, so far, authorizations are applied at library level, not at the level of individual library elements, as in the SAP Cloud ALM application.

Example

Retrieve a library element of type interface:

Request

Response

 

GET https://<tenant name>.<region>.alm.cloud.sap/api/calm-crosslibraryInterfaces/v1/Interfaces/01234567-89ab-cdef-0123-456789abcdef

No links

 

4XX

Error

Media Type