•  » Engine
  •  » [WebService] Question about pwg.images.add:

#1 2009-09-08 22:53:52

bayral
Member
2009-09-01
14

[WebService] Question about pwg.images.add:

Hello,

I have done a big part of the job of my C# proxy lib for piwigo WS.

I have all pwg.session, pwg.tags.* and pwg.category.* including the getImage working pretty good.

I have to start with the pwg.image.* functions.

I have somes questions with pwg.images.add:
what is the *_sum parameters ? md5 sum of theses files ? what is the difference between file_sum and original_sum ?
tag_ids : how are code le list og tags id  ? comma separed ?
how to comptute the directory tree where the method look for the files ?

thank a lot.

Last edited by bayral (2009-09-08 22:54:17)

Offline

 

#2 2009-09-08 23:20:05

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14100

Re: [WebService] Question about pwg.images.add:

I think that pwg.images.addChunk and pwg.images.add are the most documented method of Piwigo API. Please check [wiki] en:dev:webapi:pwg.images.add and let me know if it doesn't answer your questions.

how to comptute the directory tree where the method look for the files ?

I don't understand your question, but maybe the following information will make things clearer: there is no "physical category" when you add a photo with the web API. There are "virtual categories" and photos linked to these categories, no matter how is the filesystem organized to store files. But I doubt this fully answers your question, so please give more details :-)

Offline

 

#3 2009-09-08 23:45:09

bayral
Member
2009-09-01
14

Re: [WebService] Question about pwg.images.add:

thanks a lot for the url, I am realy newbie with the wiki system.

I have found a Answer for all of my question.

Offline

 
  •  » Engine
  •  » [WebService] Question about pwg.images.add:

Board footer

Powered by FluxBB