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
curl -i -X GET -H "Authorization:Bearer 1.ssLSvrWNRgUHG0/64uz6oczqVfw=" "http://localhost/VersionOneWin/rest-1.oauth.v1/Data/Member?where=IsSelf='true'" | |
curl -i -X GET -H "Authorization:Bearer 1.ssLSvrWNRgUHG0/64uz6oczqVfw=" 'http://localhost/VersionOneWin/rest-1.oauth.v1/Data/Member?where=IsSelf="true"' | |
curl -i -X GET -H "Authorization:Bearer 1.ssLSvrWNRgUHG0/64uz6oczqVfw=" "http://localhost/VersionOneWin/rest-1.oauth.v1/Data/Member?where=IsSelf=\"true\"" |
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
# Delete existing items | |
from: Workitem | |
filter: | |
- AssetType!='Epic' | |
- Scope.Name='SM Josh''s Project' | |
execute: Delete | |
--- | |
from: Epic | |
where: | |
Scope.Name: SM Josh's Project |
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
{"front-version":"1.4.2.1", "version":3, "nodes":[{"id":"BE8F33FF-B9A5-409D-831F-DC21EC15103A", "lastModified":"2017-02-09T13:16:36.146-05:00", "name":"VersionOne Batch Assets API", "type":"Project"},{"id":"07F1A78B-5F13-4833-A461-47ADF9BE0208", "lastModified":"2017-02-07T18:31:17.382-05:00", "name":"_ Execute QuickClose on Story Assets", "headers":[{"enabled":true, "name":"Content-Type", "value":"text/yaml"},{"enabled":true, "name":"Authorization", "value":"Basic YWRtaW46YWRtaW4="}], "metaInfo":{"ownerId":"Local repository id"}, "type":"Request", "method":{"requestBody":true, "link":"http://tools.ietf.org/html/rfc7231#section-4.3.3", "name":"POST"}, "body":{"autoSetLength":true, "textBodyEditorHeight":351, "textBody":"from: Story\nwhere:\n Scope: Scope:0\nexecute: QuickClose", "bodyType":"Text"}, "headersType":"Form", "uri":{"host":"localhost", "path":"/VersionOne.Web/api/asset/batch", "scheme":{"name":"http", "version":"V11"}}, "parentId":"BE8F33FF-B9A5-409D-831F-DC21EC15103A"},{"id":"2726D020-6CD7-40DB-A48 |
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
{ | |
"front-version": "1.4.2.1", | |
"version": 3, | |
"nodes": [ | |
{ | |
"id": "BE8F33FF-B9A5-409D-831F-DC21EC15103A", | |
"lastModified": "2017-02-07T14:34:13.049-05:00", | |
"name": "Batch Assets API", | |
"type": "Project" | |
}, |
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
{ | |
"ContextOid": "RegressionSuite:125538", | |
"ContextManager": { | |
"PrimaryScopeContext": "Scope:0", | |
"ScopeRollup": true, | |
"AssetContext": "Scope:11198", | |
"AssetListContext": "", | |
"Bubble": "Scope:0", | |
"ScopeLabel": "-" | |
}, |
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
Option Explicit | |
'Constants | |
Const V1METAURL = "/meta.v1" | |
Const V1RESTHISTURL = "/rest-1.v1/Hist" | |
Const V1RESTDATAURL = "/rest-1.v1/Data" | |
Const V1OAUTHHISTURL = "/rest-1.oauth.v1/Hist" | |
Const V1OAUTHDATAURL = "/rest-1.oauth.v1/Data" | |
Const V1LOCURL = "/loc.v1" |
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
public void CreateStoryWithConversation() | |
{ | |
var v1 = V1Connector | |
.WithInstanceUrl(BaseUrl) | |
.WithUserAgentHeader("Sample", "0.0.0") | |
.WithUsernameAndPassword(UserName, Password); | |
var scope = "Scope:86271"; | |
var name = $"Test Story {scope} Create story with conversation and mention"; |
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
from: Epic | |
select: | |
- Name | |
- from-recursive[5]: Subs | |
select: | |
- Name | |
where: | |
Name: Denise Test Epic |
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
[ | |
{ | |
"asset": "Scope", | |
"attributes": { | |
"Name": "My Project", | |
"Owner": "Member:20", | |
"Parent": "Scope:0", | |
"BeginDate": "7/15/2016 3:13:54 PM", | |
"Workitems": [ | |
{ |
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
AssetType: Message | |
Name: My Test Message | |
Receipts: | |
- AssetType: MessageReceipt | |
Recipient: Member:20 | |
--- | |
AssetType: Message | |
Name: My Test Message | |
Receipts: | |
- AssetType: MessageReceipt |