diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-05-07 12:59:02 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-05-29 14:36:10 +0200 |
| commit | 04f9ed4ac1fdd89267a7a1820eb962399e84cbed (patch) | |
| tree | be2207e4c9c3770bc0b6a5e6858fa08e603f81ec /docs/src | |
| parent | 3ecfc012e2db8b464596faf2c3bd4db1cab8697b (diff) | |
exports: Fix discovery subset in comments
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/api/functiondocs.md | 47 |
1 files changed, 14 insertions, 33 deletions
diff --git a/docs/src/api/functiondocs.md b/docs/src/api/functiondocs.md index 5d7d9ac..480c10a 100644 --- a/docs/src/api/functiondocs.md +++ b/docs/src/api/functiondocs.md @@ -308,14 +308,12 @@ Example Input: ```DiscoOrganizations(myCookie, "")``` Example Output: { - "v": 1695291170, "organization_list": [ { "display_name": { "en": "Academic Network of Albania - RASH" }, "org_id": "https://idp.rash.al/simplesaml/saml2/idp/metadata.php", - "secure_internet_home": "https://eduvpn.rash.al/" }, { "display_name": { @@ -323,7 +321,6 @@ Example Output: "en": "Danish Language Council" }, "org_id": "http://idp.dsn.dk/adfs/services/trust", - "secure_internet_home": "https://eduvpn.deic.dk/" }, { "display_name": { @@ -331,24 +328,22 @@ Example Output: "en": "Business Academy Aarhus" }, "org_id": "http://adfs.eaaa.dk/adfs/services/trust", - "secure_inte ..................... }, null Example Input: ```DiscoOrganizations(myCookie, "rash")``` Example Output: - { - "v": 1695291170, - "organization_list": [ - { - "display_name": { - "en": "Academic Network of Albania - RASH" - }, - "org_id": "https://idp.rash.al/simplesaml/saml2/idp/metadata.php", - "secure_internet_home": "https://eduvpn.rash.al/" - }, - }, null + { + "organization_list": [ + { + "display_name": { + "en": "Academic Network of Albania - RASH" + }, + "org_id": "https://idp.rash.al/simplesaml/saml2/idp/metadata.php", + }, + ] + }, null ## DiscoServers Signature: @@ -373,25 +368,14 @@ Example Input: ```DiscoServers(myCookie, "")``` Example Output: { - "v": 1695291170, "server_list": [ { "base_url": "https://eduvpn.rash.al/", - "country_code": "AL", - "public_key_list": [ - "k7.pub.S4j5JJiTEz1fWMkI.hzU_xJasWzD6Da2WR7hgbobx9n3o4XSDeqFh03tgM-0" - ], "server_type": "secure_internet", - "support_contact": [ - "mailto:helpdesk@rash.al" - ] }, { "base_url": "https://eduvpn.deic.dk/", - "country_code": "DK", - "public_key_list": [ - "k7.pub.RNOJIYbemlfsE7EL.BxmV2l2UV7pCqz135ofBgyG9-xLg0R9rILQedZrfLtE" - ], .................. + "server_type": "secure_internet", } , null Example Input: ```DiscoServers(myCookie, "heanet")``` @@ -399,16 +383,13 @@ Example Input: ```DiscoServers(myCookie, "heanet")``` Example Output: { - "v": 1695291170, "server_list": [ { "base_url": "https://eduvpn.heanet.ie/", - "display_name": "HEAnet Staff", + "display_name": { + "en": "HEAnet Staff" + }, "server_type": "institute_access", - "support_contact": [ - "mailto:noc@heanet.ie", - "tel:+35316609040" - ] }, ] } , null |
