Why is BigCommerce API POST request not getting through? - bigcommerce

I've been for months trying to get more complex type of POST requests to go through and somehow I've never been able. Those like creating a product or a brand are always easy, but when u get to creating complex-rules and modifiers your API seems to close all the doors...
I'm trying to create a Complex-Rule for changing the image when two or more option values are selected. I tried every possible combination of what I think could be the needed values and nothing. Is it possible that I'm misinterpreting what the array of inline_response_200_19_conditions are and how to use them?
This is the response I get every time...
Any help here would be very much appreciated and would save me from doing more than 25.000 combinations and image uploads by hand... :/
Thanks a lot!

Related

REST Fetching data with GET not possible due to exceed header size limit

I am having a dilema. I need to fetch data for some products by Id, these products which are selected can vary from a couple to thousands.
I see and tested that GET is not possible due to exceeding the HeaderSizeLimit of 8192.
I had discussions with colleagues and changed to POST and the ids are in the body. Everything works but have a lot of discussions about this. Have you encountered something like this? What was your approach?
First question for me is, do you really pass all those ids in a single request? How is this list of IDs generated in the first place? Could the server know this list in advance?
For example, if the list of IDs is obtained by doing a search query on the same server, perhaps that search query can already emit the list of entities.
I find that in most cases this can be avoided, but there's some exceptions.
If you find that you can't avoid this, I would suggest you use the new http QUERY method instead of of POST, but POST should be fine too as a fallback.

How do you scrape json from APIs but from multiple pages? (scrapy)

I'm trying to get json user informations from mastodon api https://mastodon.online/api/v1/accounts/1 (user id number). the problem is every page only stores one user info at a time, however I want to collect all the information at once. Is there a way to collect the json files at number order (https://mastodon.online/api/v1/accounts/{1,2,3,4,...}) then store it all in one json file?
I've been looking around for answers and everytime I used one that is similar to my question it wouldn't work. if anyone can help it would be really great, I've been stuck all day trying stuff out.
documentation; https://docs.joinmastodon.org/methods/accounts/#retrieve-information

how to create version one burned down chart using java REST client api

I am trying to get the data to create the burned down chart from version one.
I came to know there is no standard api's for that.
Here i found that by making multiple call's to fetch todo value for a scope of timebox it is possible.
Is there any better way to do it?
and also let me know any good open source libraries(javascrpt/java) to plot such graph
i tried the way shown here but i am not able to make out what value i am getting.
i tried a get request like
"base URL"/rest-1.v1/Data/Timebox?where=State.Code='ACTV'&asof"11-25-2015"&sel=Name,EndDate,State,Workitems.ToDo.#Sum
but could only get present value but not the past ones.
Thanks in advance
You are using the rest-1.v1/Data endpoint. From this endpoint you will get the current state of assets in your VersionOne instance however, there is an attribute "Prior" which contains the previous state of a VersionOne asset (Timebox). The most robust way to access historical data is though the rest-1.v1/Hist endpoint. You can find details about Hist queries here.
Using your query
"base URL"/rest-1.v1/Hist/Timebox?where=State.Code='ACTV'&asof"2015-11-25T17:30:00.00"&sel=Name,EndDate,State,Workitems.ToDo.#Sum
The asof keyword will return the state of that Timebox at that instance in time. Observe the proper format of the date.

get +1 date timestamp or for google plus activities/posts

I am trying to get some information about the post people do in google plus. In particular I am interested in the "+1"'s.
Either from the google api or directly from the google plus web site you can get the total count and name of the people who did "+1". But, I would be interested in getting the time or timestamp of the "+1"'s. Does anyone knows if it is possible or how can I do that?
Help is always appreciated
Thanks to all,
As you can see at https://developers.google.com/+/api/latest/activities, the only data we return for a +1 is a list of the +1-ers, as well as the total number of people who +1'ed the item you are looking at.
If you would like to request additional data, please file a feature request in our Issue Tracker: https://code.google.com/p/google-plus-platform/issues/list. It would really help if you could be as detailed as possible in the type of data you would like to see and how you would ideally use that data.
If you're dealing with your own website and only care about +1s for pages on your own domain, you could use Google Analytic's social information to see how +1s change over time. You wouldn't get information about who did the +1ing.

How can I event_search_max?

I'm trying to get all of the events from Eventbrite
but the thing is I couldn't there is a limitation by 100.
Is there any other way going around to get it?
Any advice would be appreciated.
You need to use the page parameter to get each page sequentially. Based on the results back, you know how many events there are in total, so you also know how many pages of 100 events there should be.