Skip to content

Bruno collection

One player's turn, as raw calls. On a REST-based installation play 01-rest-round/; on an EDC-based installation play 02-connector-round/ and 03-remote-edc/ — there the peer /api is closed and every call runs over your connector.

Before you start

  1. Install Bruno and open this folder as a collection.
  2. Select the environment of your installation and fill it from your plate:
  3. 2a) REST-based round: 01-handout-stack — base_url is Your seat + /api/v2/company, plus company_code, company_name, company_token.
  4. 2b) EDC-based round: 03-edc — the table:

    Environment name plate name
    seat_url Your seat
    company_code the code next to the company name
    company_name the company name
    company_token Company token
    mgmt_url Your connector
    mgmt_api_key Management key
    provider_dsp Your DSP
    provider_did Your DID

    Ask the moderator for your plate. use: https://game-backend.tg.semix-int4.kubernetes.htw-dresden.de/h/

EDC play — one player, step by step

Every own call has the same five-step preamble, here called prep:

  • 01 (the catalog),
  • 02 (negotiate; its @id → negotiation_id),
  • 03 (poll to FINALIZED; contractAgreementId → contract_id),
  • 04 (transfer; @id → transfer_id),
  • 05 (poll the EDR; endpoint → edr_endpoint, authorization → edr_auth).

01 needs provider_asset_id (the catalog entry's @id) and offer_id (that entry's hasPolicy[0].@id). provider_dsp/provider_did stay your own pair for every own call. Note: 05 may answer 404 a few times while the transfer starts, and edr_endpoint must carry your own seat name for an own call.

  1. Open your inbox: prep with provider_asset_id = <seat>-inbox-asset, then 06_read_own_inbox. Copy the id of the current entry into message_id.
  2. 07_read_own_message. Copy the item's notification.trace_token into trace_token and its component_code into component_code.
  3. Investigate: prep with provider_asset_id = <seat>-investigate-asset, then 08_investigate_over_edr.
  4. Case A — the answer says not_our_fault or not_our_product: copy the notification values into next_trace_token, next_component_code, next_component_name, next_failure_text, next_recall_url, next_recall_dsp, next_recall_did, next_recall_asset, and its reject_* trio into own_reject_dsp, own_reject_did, own_reject_asset. Then forward, in 03-remote-edc/: set peer_dsp = next_recall_dsp, peer_did = next_recall_did, peer_asset = next_recall_asset, run 01–05, then 06_post_recall. The item is in the next company's inbox.
  5. Case B — the answer says our_fault: copy its admit_code, prep with provider_asset_id = <seat>-admit-asset, then 10_admit.
  6. Bounce instead of investigating, when the part is not yours and you are sure: prep with provider_asset_id = <seat>-reject-asset, then 09_report_bounce. Copy the answer's bounce_url, bounce_dsp, bounce_did, bounce_asset, the retry token into bounce_trace_token and the notification object whole into bounce_notification. Then in 03-remote-edc/: peer_dsp = bounce_dsp, peer_did = bounce_did, peer_asset = bounce_asset, 01–05, then 07_post_reject. A reject needs the item's live token — after an investigate it answers 409.

Everything you post on your own seat carries ?token={{company_token}} on the EDR; the two delivery routes are tokenless. A bounce that lands in your inbox is investigated again (its token is the turn) before you forward the fresh answer.

About this tutorial

Version
v1.0
Added
Dec 2026
Updated
Dec 2026

Authors

Versions

  1. 1.0 Dec 2026 The 7th Tractus-X Community Days game.