Skip to main content

client.adt.core.http

Infrastructure endpoints: security session + CSRF handshake, and basic system information.

Sub-namespaces

client.adt.core.http.sessions

MethodHTTPPathSummary
.getSession()GET/sap/bc/adt/core/http/sessionsCreate a security session & fetch CSRF token

Request headers:

  • Accept: application/vnd.sap.adt.core.http.session.v3+xml
  • x-csrf-token: Fetch
  • X-sap-adt-sessiontype: stateful
  • x-sap-security-session: create

client.adt.core.http.systeminformation

MethodHTTPPathSummary
.getSystemInfo()GET/sap/bc/adt/core/http/systeminformationSID, client, release, language, …

Schemas

Source: adt-contracts/src/adt/core/http/ Response schema: http (adt-schemas) for sessions; typed JSON payload for systeminformation.

Example

const session = await client.adt.core.http.sessions.getSession();
const info = await client.adt.core.http.systeminformation.getSystemInfo();
Session lifecycle

The adt-client adapter drives the 3-step Eclipse session flow automatically (create → fetch CSRF → delete). You rarely need to call getSession yourself.

See also