GetChanges, GetNetworkChanges event_type

3 views
Skip to first unread message

Rod Fitzsimmons Frey

unread,
Jun 8, 2010, 12:48:29 PM6/8/10
to PBwiki API Hackers
What are the valid values for the event_type filter on the GetChanges
API calls? My goal is to limit the changes returned to page edits and
additions.

I've tried most of the values returned in the "type" and "op_word"
values returned, for example:

http://xxxxxx.pbworks.com/api_v2/op/GetNetworkChanges/after_hash/5sItZ0pmBm5x/event_filter/page/_type/text
-b net_attassa_wss=xxxxxxx;

http://xxxxxx.pbworks.com/api_v2/op/GetNetworkChanges/after_hash/5sItZ0pmBm5x/event_filter/added/_type/text
-b net_attassa_wss=xxxxxxx;

in all cases I get:

array (
'_auth_role' => 'admin',
'_auth_via' => 'cookie',
'_perm_cache_times' =>
array (
'pagetime' => 1275964371,
'filetime' => 1275518252,
'permtime' => 1275948460,
'foldertime' => 1275518252,
'commenttime' => 1275518252,
'userupdatetime' => 0,
'milestonetime' => 1275948312,
),
'_request_id' => '58485',
'_valid_as_of' => 1276015426,
'error_status' => 500,
'error_string' => 'Invalid event filter \'page\'',
'reference' => 'http://xxxxxx.pbworks.com/api_v2/#GetNetworkChanges',
Reply all
Reply to author
Forward
0 new messages