I have tried to check In and check Out a Bulk guest using /4.0/guestlists/{guestlist_id}/guests/_bulk API function. But it's not updating the status. Except for Status, it is updating everything. Can anyone help me out to solve this problem?
The Social Tables API doesn't currently support updating the checked_in_status using the /4.0/guestlists/{guestlist_id}/guests/_bulk route.
To achieve this functionality you will need to use:
/4.0/guestlists/{guestlist_id}/guests/checkin
body:
{
guests: ["guest_id_1", "guest_id_2"],
event_name: "Some Event Name" // optional. used by check-in notifictations
}
This currently does not support setting to checked-out or to reset the Guest to non checked-in state. If this is the desired functionality please let us know and we can add it to our external API.
Please feel free to ask if you have any other questions!
UPDATED
You can now provide a checked-in status to the bulk check-in route
{
"guests": [
"99b4ae20-2779-11e6-b0b7-13c2616041ae",
"99b4ae21-2779-11e6-b0b7-13c2616041ae"
],
"checked_in": 1,
"event_name": "Some Event Name" // optional. used by check-in notifictations
}
Related
I was wondering if accessing data, For example view any item, modify any item in Db/Firestore directly via Firebase console adds to usage (data download/ FireStore Read etc.)
I googled it to find an answer but I didn't find any. So raising my query here.
Also wanted to know if there is a way to provide write access to a particular child to 3-4 specific emails (google authentication). I understand we can allow writing to users who created it using the below rules. But in my case, I want others (few) also to be able to write to the child but not all( so cannot use ".write": "auth != null" )
{
"rules": {
"users": {
"$uid": {
".write": "$uid === auth.uid"
}
}
}
}
Thanks in advance.
Yes, it does charge you. The documentation says,
Firebase console data: Although this isn't usually a significant portion of Realtime Database costs, Firebase charges for data that you read and write from the Firebase console.
Similarly you are charged for any reads and writes from the Firestore console. Also you need to be the project owner (or have editor/viewer role) to access the console. You'll be charged the amount of data loaded or written. For example, if the console loads 500 documents then you'll be charged 500 reads.
For the data retrieved from client side, "Firebase charges for the downloaded data. Typically, this makes up the bulk of your bandwidth costs, but it isn't the only factor in your bill." Make sure you check all the factors in the documentation above.
To allow specific users to read or write to your database, you can try using custom claims. You can refer to this answer for a detailed explanation on security rules with custom claims.
I'm finding conflicting information on creating one time use deep links.
expire desktop_url generated through branch SDK after one time use
The documentation on "type" says "Must be an int. Set to 1 to limit deep link to a single use. Set to 2 to make the link show up under Quick Links while adding $marketing_title to data. Does not work with the Native SDKs." (https://docs.branch.io/links/integrate/)
I created a link using the included JSON with a POST to https://api2.branch.io/v1/url.
{
"branch_key": "*********************",
"data": {
"entityId": "282fd3da-5200-45f4-80a2-4f3a1c36bff6",
"$link_exp_date": 1567271700000
},
"type": 1,
"feature": "test_feature",
"tags": []
}
I expected the URL to be available for one time use. However I am able to successfully use the link multiple times until it expires. And retrieving the link using GET https://api.branch.io/v1/url doesn't return any properties that indicate the link was used.
Even before creating a deep link and testing, you need to integrate the Branch SDK in your respective app (Android, iOS etc).
The simple way to create a deep link is via dashboard and test this when the app is installed.
I created a bunch of links through the API without specifying the type which defaults to 0. This doesn't make the links show on the dashboard under quick links. Now, I would like to make them show there but there doesn't seem to be an option to add a quick link, only create new. Given this, my idea was to use the API to read and update it however, update doesn't seem to allow passing argument type. Any hints on how to overcome this?
I have made a get request, retrieving the whole link details, copied the result, added the branch_key and branch_secret, changed type from 0 to 2 and sent an update request.
I've opened the link with ?debug=true but it doesn't seem to be a way to edit it to make it show on quick links either.
Response code was:
{
"error": {
"code": 400,
"message": "Invalid parameter: type"
}
}
As soon as I remove the type parameter, I get the proper link response with all the data.
The error that you saw is the expected behavior. The "type" key is reserved key and is not able to be changed once you created the link. You can manually set this only when you create the link using the API call. Please do reach out at integrations#branch.io if you have any further questions!
We store API created links and quick links in different DBs due to the volume of each type. This means that it's actually impossible to create a quick link through our public API or SDK. The only place would be from the dashboard. :( Hopefully, you understand our reasoning for doing it this way.
I am creating a state machine for YouTrack using JavaScript, and am trying to send an email to everyone in a group. In the old Workflows, this was done like this:
{group:PHP Developers}.notifyAllUsers("Subject","message");
I can't find anything in the new JavaScript API to do this, where can I find the global (not issue or project) groups?
In JS API it will look as follows:
entities.UserGroup.findByName('PHP Developers')
.notifyAllUsers('Subject','message');
However, another (and way more reliable) way to get a particular user group is to add it to requirements and the reference inside the code:
ctx.phpdevs.notifyAllUsers('Subject','message');
...
requirements: {
...
phpDevs: {
type: entities.UserGroup,
name: 'PHP Developers'
}
}
You may find more details in official documentation: UserGroup and Finding Specific Entities.
I am trying to call some Rally WebServices from an App inside Rally to update Portfolio Item details (SubFeatures) and I hit a problem that a search on Stack OVerflow indicated I needed to use:
https://rally1.rallydev.com:443/slm/webservice/v2.0/security/authorize
When I GET this it requires me to log in with my Rally userID/Password.
How should I use this properley from within a Rally App so as to not need this authentication since i am already logged in.
As a secondary factor, ulrimately I am to call 'https://rally1.rallydev.com/slm/webservice/v2.0/portfolioitem/' + id
and I assume I would need to pass something like: { "PortfolioItem": { "Description": "hello" } }
Am I barking up wrong trees there?
Thanks
Martin
Are you manually wrangling the ajax calls yourself? App SDK 2.0 does a lot of this for you (including the security token piece mentioned above). Check out this example, which demonstrates performing a full CRUD lifecycle within an app:
https://help.rallydev.com/apps/2.0rc2/doc/#!/guide/data_models