summaryrefslogtreecommitdiff
path: root/docs/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/api')
-rw-r--r--docs/src/api/functiondocs.md47
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