Link one app to another, and state what it relies on
dropyour_linkLet one of your graduated apps call ANOTHER of your apps over the network. By default no app can reach another — that refusal is the platform's isolation, not an oversight. This opens exactly the app you name, by its dropId, and only if it belongs to the SAME account: a link never crosses two accounts. action='delier' revokes it (and its contract), and revoking asks nothing — taking a right back cannot be harder than granting it. Eight links at most: beyond that it is not a contract between apps any more, it is a network, and it gets decided differently. Over a link, the called app knows who calls: its server code sees app.caller = { dropId } of the calling app, signed by the platform and impossible to forge; every other request sees null. CONTRACT (optional, recommended): pass contrat with action='lier' to state what the calling app relies on — up to 8 READ routes (GET or HEAD), each with the status it expects (default 200) and, for GET, a MINIMAL JSON Schema of the response (extra fields are always allowed). From then on, every new version of the called app published with dropyour_release, dropyour_replace or dropyour_patch is checked against it BEFORE it stays live: if a route breaks, the version is refused, the previous one is put back, and the answer names the consumer and the route. Calling 'lier' again with a new contrat replaces it (its revision goes up); action='retirer_contrat' removes it and keeps the link. Write methods are refused in a contract: the checks run against the called app's REAL data. action='consommateurs' (dropId = the CALLED app, no cible) lists which apps rely on it and under which contract. What a link does NOT do: it grants no token and no shared storage. Your app calls the other one over plain HTTP, and the other one's own guards apply unchanged: it decides what a linked caller may do.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cible | No | The app to be called. Must belong to the same account. Required except for action='consommateurs'. | |
| action | Yes | lier = open (with an optional contract), delier = revoke, retirer_contrat = drop the contract and keep the link, consommateurs = list the apps relying on dropId. | |
| dropId | Yes | The app that will CALL (for action='consommateurs': the app being called). | |
| contrat | No | What the calling app relies on in the called app. Only with action='lier'. | |
| managementToken | No |