-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,3 +80,29 @@ vivosnap re-compare [differences_directory] [expected_changes_file] [new_differe | |
``` | ||
Re-compare just the differences between two snapshots, presumably with a different list of expected changes. | ||
The original snapshot directories must still exist, because the differences directory will reference them. | ||
|
||
## Data structure details | ||
|
||
### Session list | ||
Here is a silly pseudo-syntax. URLs are all relative to the VIVO home page. | ||
``` | ||
line ⇔ session | ||
session ⇔ [login ==> ] request [ ==> request ]* | ||
login ⇔ LOGIN email pass | ||
request ⇔ url [method | header | parameter]* | ||
method ⇔ GET | POST | ||
header ⇔ key(value) | ||
parameter ⇔ key=value | ||
value ⇔ must be in single quotes if contains space | ||
``` | ||
|
||
#### Examples | ||
* A simple URL | ||
|
||
display/cwid-cim9006 | ||
* A POST request with parameters | ||
|
||
admin/developerAjax POST Accept(text/plain) query='this and that' | ||
* A simple request from a logged in user | ||
|
||
LOGIN [email protected] Password ==> display/cwid-cim9006 |