API that allows access content from other systems?

Support Ticket

+status
acknowledged
 

Hi, host Wagn as our wiki and I wonder if Wagn provides a web service API access or some other methods that allow other system to access its content? I mean, this web service API can be called by a third party system to share data that stored on Wagn. Can we do that? Thanks in advance!

 


Funny you should ask, because we are in conversation right now detailing an API for module development, which will map to a clean web API. See Packs+api.

 

(There may be a way to do what you want already, but if so I can't answer that.)

  --John Abbe.....Wed Feb 23 08:54:31 -0800 2011


The web api is rapidly evolving. If you know the kind of formats in which you'd like to be able to access data, I may be able to clarify both what we can currently do and what we hope to be able to do in the future.

  --Ethan McCutchen.....Wed Feb 23 09:04:27 -0800 2011


We would like to reach the content of a card from another system. For example, I'd like to pull the contents of this card, so in a page of another system, we could include contents only from "Hi, host..." to "Thanks in advance!". Is there a way to do this? Thanks.

  --evanyw.....Wed Feb 23 13:08:27 -0800 2011


You can add ".txt" to any link to get its raw content, e.g. http://www.wagn.org/wagn/API_that_allows_access_content_from_other_systems+issue.txt

 

See file formats.

  --John Abbe.....Wed Feb 23 13:19:29 -0800 2011


As pointed out, you can get a text representation now. We also have some XML stuff in the works that will likely be integrated after the API is released, and that pattern could be used to add JSON as well if you like that best. In short, we have some basic support now, and it will get a lot better before too long.

  --Gerry Gleason.....Wed Feb 23 15:07:24 -0800 2011


Thanks for the input! But I wonder, is it the only way to do it? Thank you all!

  --evanyw.....Wed Feb 23 23:01:26 -0800 2011


what are you looking to improve?

  --Ethan McCutchen.....Thu Feb 24 03:45:50 -0800 2011