Skip to content

Commit 5e8f37b

Browse files
Merge pull request #11 from zero-24/exampleorg
Use the dedicated example.org domain for demo and no longer mail.com
2 parents b0cdd09 + 5f91a18 commit 5e8f37b

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

j4x-api-complete-collection.postman_collection.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
],
213213
"body": {
214214
"mode": "raw",
215-
"raw": "{'contact': 'Name','email': 'email@mail.com','extrainfo': '','metakey': '','name': 'Clients','state': 1}"
215+
"raw": "{'contact': 'Name','email': 'email@example.org','extrainfo': '','metakey': '','name': 'Clients','state': 1}"
216216
},
217217
"url": {
218218
"raw": "{{base_path}}/api/index.php/v1/banners/clients",
@@ -227,7 +227,7 @@
227227
"clients"
228228
]
229229
},
230-
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/banners/clients' -d \\\"{'contact': 'Name','email': 'email@mail.com','extrainfo': '','metakey': '','name': 'Clients','state': 1}\\\""
230+
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/banners/clients' -d \\\"{'contact': 'Name','email': 'email@example.org','extrainfo': '','metakey': '','name': 'Clients','state': 1}\\\""
231231
},
232232
"response": []
233233
},
@@ -243,7 +243,7 @@
243243
],
244244
"body": {
245245
"mode": "raw",
246-
"raw": "{'contact': 'new Name','email': 'newemail@mail.com','name': 'Clients'}"
246+
"raw": "{'contact': 'new Name','email': 'newemail@example.org','name': 'Clients'}"
247247
},
248248
"url": {
249249
"raw": "{{base_path}}/api/index.php/v1/banners/clients/{{client_id}}",
@@ -259,7 +259,7 @@
259259
"{client_id}"
260260
]
261261
},
262-
"description": "Generated from a curl request: \ncurl -X PATCH -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/banners/clients/{{client_id}}' -d \\\"{'contact': 'new Name','email': 'newemail@mail.com','name': 'Clients'}\\\""
262+
"description": "Generated from a curl request: \ncurl -X PATCH -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/banners/clients/{{client_id}}' -d \\\"{'contact': 'new Name','email': 'newemail@example.org','name': 'Clients'}\\\""
263263
},
264264
"response": []
265265
},
@@ -713,7 +713,7 @@
713713
],
714714
"body": {
715715
"mode": "raw",
716-
"raw": "{'contact_email': 'email@mail.com','contact_message': 'some text','contact_name': 'name','contact_subject': 'subject'}"
716+
"raw": "{'contact_email': 'email@example.org','contact_message': 'some text','contact_name': 'name','contact_subject': 'subject'}"
717717
},
718718
"url": {
719719
"raw": "{{base_path}}/api/index.php/v1/contact/form/{{contact_id}}",
@@ -729,7 +729,7 @@
729729
"{contact_id}"
730730
]
731731
},
732-
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/contact/form/{{contact_id}}' -d \\\"{'contact_email': 'email@mail.com','contact_message': 'some text','contact_name': 'name','contact_subject': 'subject'}\\\""
732+
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/contact/form/{{contact_id}}' -d \\\"{'contact_email': 'email@example.org','contact_message': 'some text','contact_name': 'name','contact_subject': 'subject'}\\\""
733733
},
734734
"response": []
735735
},
@@ -2862,7 +2862,7 @@
28622862
],
28632863
"body": {
28642864
"mode": "raw",
2865-
"raw": "{'block': '0','email': 'test@mail.com','groups': ['2'],'id': '0','lastResetTime': '','lastvisitDate': '','name': 'nnn','params': {'admin_language': '','admin_style': '','editor': '','helpsite': '','language': '','timezone': ''},'password': 'qwerty','password2': 'qwerty','registerDate': '','requireReset': '0','resetCount': '0','sendEmail': '0','username': 'ad'}"
2865+
"raw": "{'block': '0','email': 'test@example.org','groups': ['2'],'id': '0','lastResetTime': '','lastvisitDate': '','name': 'nnn','params': {'admin_language': '','admin_style': '','editor': '','helpsite': '','language': '','timezone': ''},'password': 'qwerty','password2': 'qwerty','registerDate': '','requireReset': '0','resetCount': '0','sendEmail': '0','username': 'ad'}"
28662866
},
28672867
"url": {
28682868
"raw": "{{base_path}}/api/index.php/v1/users",
@@ -2876,7 +2876,7 @@
28762876
"users"
28772877
]
28782878
},
2879-
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/users' -d \\\"{'block': '0','email': 'test@mail.com','groups': ['2'],'id': '0','lastResetTime': '','lastvisitDate': '','name': 'nnn','params': {'admin_language': '','admin_style': '','editor': '','helpsite': '','language': '','timezone': ''},'password': 'qwerty','password2': 'qwerty','registerDate': '','requireReset': '0','resetCount': '0','sendEmail': '0','username': 'ad'}\\\""
2879+
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/users' -d \\\"{'block': '0','email': 'test@example.org','groups': ['2'],'id': '0','lastResetTime': '','lastvisitDate': '','name': 'nnn','params': {'admin_language': '','admin_style': '','editor': '','helpsite': '','language': '','timezone': ''},'password': 'qwerty','password2': 'qwerty','registerDate': '','requireReset': '0','resetCount': '0','sendEmail': '0','username': 'ad'}\\\""
28802880
},
28812881
"response": []
28822882
},
@@ -2892,7 +2892,7 @@
28922892
],
28932893
"body": {
28942894
"mode": "raw",
2895-
"raw": "{'email': 'new@mail.com','groups': ['2'],'name': 'name','username': 'username'}"
2895+
"raw": "{'email': 'new@example.org','groups': ['2'],'name': 'name','username': 'username'}"
28962896
},
28972897
"url": {
28982898
"raw": "{{base_path}}/api/index.php/v1/users/{{user_id}}",
@@ -2907,7 +2907,7 @@
29072907
"{user_id}"
29082908
]
29092909
},
2910-
"description": "Generated from a curl request: \ncurl -X PATCH -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/users/{{user_id}}' -d \\\"{'email': 'new@mail.com','groups': ['2'],'name': 'name','username': 'username'}\\\""
2910+
"description": "Generated from a curl request: \ncurl -X PATCH -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/users/{{user_id}}' -d \\\"{'email': 'new@example.org','groups': ['2'],'name': 'name','username': 'username'}\\\""
29112911
},
29122912
"response": []
29132913
}

src/js/api.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
],
213213
"body": {
214214
"mode": "raw",
215-
"raw": "{'contact': 'Name','email': 'email@mail.com','extrainfo': '','metakey': '','name': 'Clients','state': 1}"
215+
"raw": "{'contact': 'Name','email': 'email@example.org','extrainfo': '','metakey': '','name': 'Clients','state': 1}"
216216
},
217217
"url": {
218218
"raw": "{{base_path}}/api/index.php/v1/banners/clients",
@@ -227,7 +227,7 @@
227227
"clients"
228228
]
229229
},
230-
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/banners/clients' -d \\\"{'contact': 'Name','email': 'email@mail.com','extrainfo': '','metakey': '','name': 'Clients','state': 1}\\\""
230+
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/banners/clients' -d \\\"{'contact': 'Name','email': 'email@example.org','extrainfo': '','metakey': '','name': 'Clients','state': 1}\\\""
231231
},
232232
"response": []
233233
},
@@ -243,7 +243,7 @@
243243
],
244244
"body": {
245245
"mode": "raw",
246-
"raw": "{'contact': 'new Name','email': 'newemail@mail.com','name': 'Clients'}"
246+
"raw": "{'contact': 'new Name','email': 'newemail@example.org','name': 'Clients'}"
247247
},
248248
"url": {
249249
"raw": "{{base_path}}/api/index.php/v1/banners/clients/{{client_id}}",
@@ -259,7 +259,7 @@
259259
"{client_id}"
260260
]
261261
},
262-
"description": "Generated from a curl request: \ncurl -X PATCH -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/banners/clients/{{client_id}}' -d \\\"{'contact': 'new Name','email': 'newemail@mail.com','name': 'Clients'}\\\""
262+
"description": "Generated from a curl request: \ncurl -X PATCH -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/banners/clients/{{client_id}}' -d \\\"{'contact': 'new Name','email': 'newemail@example.org','name': 'Clients'}\\\""
263263
},
264264
"response": []
265265
},
@@ -713,7 +713,7 @@
713713
],
714714
"body": {
715715
"mode": "raw",
716-
"raw": "{'contact_email': 'email@mail.com','contact_message': 'some text','contact_name': 'name','contact_subject': 'subject'}"
716+
"raw": "{'contact_email': 'email@example.org','contact_message': 'some text','contact_name': 'name','contact_subject': 'subject'}"
717717
},
718718
"url": {
719719
"raw": "{{base_path}}/api/index.php/v1/contact/form/{{contact_id}}",
@@ -729,7 +729,7 @@
729729
"{contact_id}"
730730
]
731731
},
732-
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/contact/form/{{contact_id}}' -d \\\"{'contact_email': 'email@mail.com','contact_message': 'some text','contact_name': 'name','contact_subject': 'subject'}\\\""
732+
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/contact/form/{{contact_id}}' -d \\\"{'contact_email': 'email@example.org','contact_message': 'some text','contact_name': 'name','contact_subject': 'subject'}\\\""
733733
},
734734
"response": []
735735
},
@@ -2862,7 +2862,7 @@
28622862
],
28632863
"body": {
28642864
"mode": "raw",
2865-
"raw": "{'block': '0','email': 'test@mail.com','groups': ['2'],'id': '0','lastResetTime': '','lastvisitDate': '','name': 'nnn','params': {'admin_language': '','admin_style': '','editor': '','helpsite': '','language': '','timezone': ''},'password': 'qwerty','password2': 'qwerty','registerDate': '','requireReset': '0','resetCount': '0','sendEmail': '0','username': 'ad'}"
2865+
"raw": "{'block': '0','email': 'test@example.org','groups': ['2'],'id': '0','lastResetTime': '','lastvisitDate': '','name': 'nnn','params': {'admin_language': '','admin_style': '','editor': '','helpsite': '','language': '','timezone': ''},'password': 'qwerty','password2': 'qwerty','registerDate': '','requireReset': '0','resetCount': '0','sendEmail': '0','username': 'ad'}"
28662866
},
28672867
"url": {
28682868
"raw": "{{base_path}}/api/index.php/v1/users",
@@ -2876,7 +2876,7 @@
28762876
"users"
28772877
]
28782878
},
2879-
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/users' -d \\\"{'block': '0','email': 'test@mail.com','groups': ['2'],'id': '0','lastResetTime': '','lastvisitDate': '','name': 'nnn','params': {'admin_language': '','admin_style': '','editor': '','helpsite': '','language': '','timezone': ''},'password': 'qwerty','password2': 'qwerty','registerDate': '','requireReset': '0','resetCount': '0','sendEmail': '0','username': 'ad'}\\\""
2879+
"description": "Generated from a curl request: \ncurl -X POST -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/users' -d \\\"{'block': '0','email': 'test@example.org','groups': ['2'],'id': '0','lastResetTime': '','lastvisitDate': '','name': 'nnn','params': {'admin_language': '','admin_style': '','editor': '','helpsite': '','language': '','timezone': ''},'password': 'qwerty','password2': 'qwerty','registerDate': '','requireReset': '0','resetCount': '0','sendEmail': '0','username': 'ad'}\\\""
28802880
},
28812881
"response": []
28822882
},
@@ -2892,7 +2892,7 @@
28922892
],
28932893
"body": {
28942894
"mode": "raw",
2895-
"raw": "{'email': 'new@mail.com','groups': ['2'],'name': 'name','username': 'username'}"
2895+
"raw": "{'email': 'new@example.org','groups': ['2'],'name': 'name','username': 'username'}"
28962896
},
28972897
"url": {
28982898
"raw": "{{base_path}}/api/index.php/v1/users/{{user_id}}",
@@ -2907,7 +2907,7 @@
29072907
"{user_id}"
29082908
]
29092909
},
2910-
"description": "Generated from a curl request: \ncurl -X PATCH -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/users/{{user_id}}' -d \\\"{'email': 'new@mail.com','groups': ['2'],'name': 'name','username': 'username'}\\\""
2910+
"description": "Generated from a curl request: \ncurl -X PATCH -H 'Content-Type: application/json' '{{base_path}}/api/index.php/v1/users/{{user_id}}' -d \\\"{'email': 'new@example.org','groups': ['2'],'name': 'name','username': 'username'}\\\""
29112911
},
29122912
"response": []
29132913
}

0 commit comments

Comments
 (0)