I'm sorry for such a basic question, but I've been digging for hours and I can't find anything at all.

I've been reading about heightened Views support in the dev version of Services module so I am trying to upgrade. However, the move breaks all my Flash content for reasons that seem obvious enough to me – the dev version of Services has different arguments. For example. Views.get is now 11 arguments (6 of which are required.)

My question... How to I know what to plug in to the args? For example, "system.connect" provides me with "sessid". "view_name" and "domain_name" are easy enough, but where do "Hash","Timestamp", and "nonce" come from? What are they for?

Is there a place I can find some sample actionscript? I have TravisT's book, but it uses the old Services which doesn't really support Views.get very well. Below is the way I would do a Views.get in the old Services. Has the basic syntax changed or just the args?

drupal.call("views.get", new Responder( onViewLoad, onServicesError ), sessionId, "ViewName", fieldsArray, argsArray);

Thanks!

Comments

gdd’s picture

Status: Active » Fixed

The handbook has an example of how to work with the new API key schema at

http://drupal.org/node/394224

This data should be accurate. I don't know how ActionScript works, but you should be able to work with that and get started. Reopen if you continue having problems.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.