Link to api-browser/docs; add tree-attachments; refactor session handling