From 641d11db49f811fbfe71254c54b287ba1dcfadc9 Mon Sep 17 00:00:00 2001 From: Shreyansh Dwivedi Date: Tue, 16 Apr 2019 16:10:36 +0530 Subject: [PATCH 1/2] docs:adds missing params from user docs --- docs/api/api_blueprint.apib | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/docs/api/api_blueprint.apib b/docs/api/api_blueprint.apib index e5a3bc4b3b..00a3eb5512 100644 --- a/docs/api/api_blueprint.apib +++ b/docs/api/api_blueprint.apib @@ -196,7 +196,8 @@ Get a list of Users. "avatar-url": "http://example.com/example.png", "twitter-url": "http://twitter.com/twitter", "google-plus-url": "http://plus.google.com/plus.google", - "facebook-id": "12345678" + "facebook-id": "12345678", + "was-registered-with-order": false }, "type": "user", "id": "2", @@ -375,7 +376,8 @@ Create a new user using an email, password and an optional name. "avatar-url": "http://example.com/example.png", "twitter-url": "http://twitter.com/twitter", "google-plus-url": "http://plus.google.com/plus.google", - "facebook-id": null + "facebook-id": null, + "was-registered-with-order": false }, "type": "user", "id": "2", @@ -530,7 +532,8 @@ Get a single user. "avatar-url": "http://example.com/example.png", "twitter-url": "http://twitter.com/twitter", "google-plus-url": "http://plus.google.com/plus.google", - "facebook-id": "123456" + "facebook-id": "123456", + "was-registered-with-order": false }, "type": "user", "id": "2", @@ -708,7 +711,8 @@ Authorized user should be same as user in request body or must be admin. "avatar-url": "http://example.com/example.png", "twitter-url": "http://twitter.com/twitter", "google-plus-url": "http://plus.google.com/plus.google", - "facebook-id": "123456" + "facebook-id": "123456", + "was-registered-with-order": false }, "type": "user", "id": "2", @@ -836,7 +840,8 @@ Get the details of the user. "deleted-at": null, "small-image-url": null, "details": null, - "facebook-id": "123456" + "facebook-id": "123456", + "was-registered-with-order": false }, "type": "user", "id": "1", @@ -948,7 +953,8 @@ Get the details of the user. "deleted-at": null, "small-image-url": null, "details": null, - "facebook-id": "123456" + "facebook-id": "123456", + "was-registered-with-order": false }, "type": "user", "id": "1", @@ -1060,7 +1066,8 @@ Get the details of the user. "deleted-at": null, "small-image-url": null, "details": null, - "facebook-id": "123456" + "facebook-id": "123456", + "was-registered-with-order": false }, "type": "user", "id": "1", @@ -1172,7 +1179,8 @@ Get the details of the user. "deleted-at": null, "small-image-url": null, "details": null, - "facebook-id": "123456" + "facebook-id": "123456", + "was-registered-with-order": false }, "type": "user", "id": "1", @@ -1284,7 +1292,8 @@ Get the details of the user. "deleted-at": null, "small-image-url": null, "details": null, - "facebook-id": "123456" + "facebook-id": "123456", + "was-registered-with-order": false }, "type": "user", "id": "1", @@ -1396,7 +1405,8 @@ Get the details of the user. "deleted-at": null, "small-image-url": null, "details": null, - "facebook-id": "123456" + "facebook-id": "123456", + "was-registered-with-order": false }, "type": "user", "id": "1", From 602d718dfa72120ac72b59aa383623d53621bb75 Mon Sep 17 00:00:00 2001 From: Shreyansh Dwivedi Date: Tue, 16 Apr 2019 17:43:40 +0530 Subject: [PATCH 2/2] adds remaining user fields --- docs/api/api_blueprint.apib | 80 ++++++++++++++++++++++++++++++++----- 1 file changed, 70 insertions(+), 10 deletions(-) diff --git a/docs/api/api_blueprint.apib b/docs/api/api_blueprint.apib index 00a3eb5512..1aac69e27d 100644 --- a/docs/api/api_blueprint.apib +++ b/docs/api/api_blueprint.apib @@ -197,7 +197,13 @@ Get a list of Users. "twitter-url": "http://twitter.com/twitter", "google-plus-url": "http://plus.google.com/plus.google", "facebook-id": "12345678", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "2", @@ -377,7 +383,13 @@ Create a new user using an email, password and an optional name. "twitter-url": "http://twitter.com/twitter", "google-plus-url": "http://plus.google.com/plus.google", "facebook-id": null, - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "2", @@ -533,7 +545,13 @@ Get a single user. "twitter-url": "http://twitter.com/twitter", "google-plus-url": "http://plus.google.com/plus.google", "facebook-id": "123456", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "2", @@ -712,7 +730,13 @@ Authorized user should be same as user in request body or must be admin. "twitter-url": "http://twitter.com/twitter", "google-plus-url": "http://plus.google.com/plus.google", "facebook-id": "123456", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "2", @@ -841,7 +865,13 @@ Get the details of the user. "small-image-url": null, "details": null, "facebook-id": "123456", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "1", @@ -954,7 +984,13 @@ Get the details of the user. "small-image-url": null, "details": null, "facebook-id": "123456", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "1", @@ -1067,7 +1103,13 @@ Get the details of the user. "small-image-url": null, "details": null, "facebook-id": "123456", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "1", @@ -1180,7 +1222,13 @@ Get the details of the user. "small-image-url": null, "details": null, "facebook-id": "123456", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "1", @@ -1293,7 +1341,13 @@ Get the details of the user. "small-image-url": null, "details": null, "facebook-id": "123456", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "1", @@ -1406,7 +1460,13 @@ Get the details of the user. "small-image-url": null, "details": null, "facebook-id": "123456", - "was-registered-with-order": false + "was-registered-with-order": false, + "is-user-organizer": false, + "is-user-coorganizer": false, + "is-user-track-organizer": false, + "is-user-moderator": false, + "is-user-registrar": false, + "is-user-attendee": false }, "type": "user", "id": "1",