Usecase: Find/Search a friend


Usability

  • Start client
  • Click on the search widget
  • Enter name (resp. advanced query)
  • Query will be sent to provider server
  • Provider server does execute a query on discovery servers
  • Results will be sent back to client
  • Optional: Refine and resend query
  • Add friend (Categorize friend, Create shortcut on desktop, ...)

Protocol between Client and Provider

Request:

GET http://foaf.wyona.org/search-friend.html?firstname=Simon

whereas this URL is defined within the introspection of the provider server (whereas query parameters such as firstname, etc. would need to be standardized. TBD: Maybe it's better to define a standardized XML which shall be posted to the provider server).

Response:

HTTP/1.1 200 OK..

1) FOAF found
2) No FOAF found

HTTP/1.1 404 Not Found..
whereas this does not mean that no FOAF is being found, but that the GET URL does not exist (common HTTP status code definitions do apply)

Protocol between Provider and Discovery Server

Request:

...

Response:

...

Your comments are much appreciated

Is the content of this page unclear or you think it could be improved? Please add a comment and we will try to improve it accordingly.