Google Cloud Functions list.operations parameters are unclear - google-cloud-platform

I'm trying to fetch all operations related my google Cloud Functions. I need to give a filter parameter for this, but it is unclear to me what this filter should actually be.
The filter is described as "standard list filter", but I couldn't find what this was referring to. From the documentation it was impossible for me to discern what the correct parameters could be.
EDIT:
So far I've tried getting it to work in the "try this API" that's in the documentation.
I've tried filters like
/operations/*
.*
*
and names such as
/v1/name/operations
/name/operations
*
The problem I'm having is that I just have no clue what a valid filter could look like, and as far as I can see it's not in the documentation other than "standard list filter".

The documentation now contains some explanations:
The supported formats of filter are:
To query for specific function:
project:*,location:*,function:*
To query for all of the latest operations for a project:
project:*,latest:true

Related

how to get todays feeds using graph api

I am using graph api explorer to test my results.
I tried getting todays posts by the below query
1061547241/feed?fields=object_id&since=1378122100&limit=100
I am confused with the since parameter. some one help get todays posts using since parameter.
Lets take a look at the documentation for graph api:
https://developers.facebook.com/docs/reference/api/pagination/#timepaging
According to that it uses http://php.net/manual/en/function.strtotime.php function to convert the "since" parameter. So if you want to get it for today you can do something like:
1061547241/feed?fields=object_id&since=today
This would give you feed since start of the day i.e. 00:00:00.
For more details on formats you search for datetime.formats in php, doesn't allow me to post more than 2 links.

How does Graph Api > Search Posts work?

I have a couple of questions regarding the Graph Api > Search Posts functionality (http://developers.facebook.com/docs/reference/api/search/):
What operators does the QUERY paramater accept? Usually search engines accept AND, OR, exact match ("red apples") and NOT/exclusion. I'm confused about how these operators function for Facebook.
What exactly does it search through? Sometimes I see results that don't match the search query at all. Does it search through the posts's message, or through comments from posts as well?
The query parameter only accepts strings and not operators. You should specify a type too so you can filter between users, posts, etc. Depends in what you want to search for, you will need a valid user access_token.
If you are searching for posts, it will only search within the post itself, and not the comments.

Facebook Graph API Filters - What options are available?

It seems that you can make a call to the Graph API that looks like this:
https://graph.facebook.com/me/checkins?since=yesterday
Apparently you can pass either a UNIX timestamp or any valid strtotime value.
The questions...how do you know what other options are available to you in the request? I don't see any documentation about this "since" filter or any other similar filter. Is this information just trickling down from people who know some API engineers at Facebook?
I know that there are some things that you can do in FQL that are similar to what I was describing but I want to stay with the Graph API if I can.
Thanks
--Tony
Anothony Lee:
since, until - (a unix timestamp or any date accepted by strtotime):
EG: since=yesterday until=now, since=6+months+ago until=3+months+ago,
since=10/01/2011 until=10/11/2011
another example
&since=noon+monday+last+week &until=10+minutes+ago.
you need to provide the date filter as shown in the below link. time_range should be attached to the insights.
try this
https://graph.facebook.com/v6.0/me?fields=id%2Cname%2Cadaccounts%7Bcampaigns%7Badsets%7Bads%7Binsights.time_range(%7B'since'%3A'2020-05-01'%2C'until'%3A'2020-05-01'%7D)%7Badset_id%2Ccampaign_id%2Cad_id%2Cclicks%7D%7D%7D%7D%7D&access_token=

What types of posts are in a feed?

I was wondering what all the possible types of posts I can expect in a feed. The documentation at http://developers.facebook.com/docs/reference/api/post/ mentions that the type field could be link, video, and photo, but that's clearly not a comprehensive list. I know that there are at least the following possible types (because I've seen them): status, link, video, photo, checkin, note, swf, and music.
But are there more that I'm missing? Is there a complete list of these types somewhere?
I know of someone who says that they've seen event attendance and friendship acceptance posts in their home feed (from /me/feed), but I can't seem to recreate that. Are those also types of posts that I could expect?
It appears that currently there is no official list from a FB resource. The closest thing I could find was a related StackOverflow question
I would suggest reaching out to their developer community directly, and, of course, providing a link here once you've done so!
As of 2013-12-18 the documentation says:
name: status_type
description: Type of post
permissions: read_stream
Returns: One of mobile_status_update, created_note, added_photos, added_video, shared_story, created_group, created_event, wall_post, app_created_story, published_story, tagged_in_photo, approved_friend
Doc reference
You can find a list for Graph v4.0 here (search for status_type):
https://developers.facebook.com/docs/graph-api/reference/v4.0/page/feed
The type of a status update. Values include:
added_photos
added_video
app_created_story
approved_friend
created_event
created_group
created_note
mobile_status_update
published_story
shared_story
tagged_in_photo
wall_post
Though these are listed for Page feed documentation, but I guess it's the same for others as well. I couldn't find it any place else. Also note that mobile_status_update is a legacy one kept for backward compatibility. See this: https://developers.facebook.com/bugs/564448573658836/

Solr: List results by distance

I'd like to pass some parameters to Solr that should afflict the weighting of the results (I do not want to filter away results that do not match these criterias).
E.g. I'd like to have a language attribute, and if i pass the user's language to the search engine I'd like to have the results matching the language listed first. As a newbie to Solr I'd like to know if and how this is possible!
Yes, that's possible by using boost functions. See this FAQ entry or the description of boost functions for the DisMaxQueryPlugin (the dismax query parser is the default parser).