curl http://phabricator.something.com/api/harbormaster.createartifact \ -d api.token=api-some-key\ -d buildTargetPHID=PHID-HMBT-some-phid \ -d artifactKey=jenkins.uri \ -d artifactData[uri]="http://build:8080/job/blah" \ -d artifactType=uri \ -d artifactData[name]="Jenkins Build" \ -d artifactData[ui.external]=1
Complains with
{"result":null,"error_code":"ERR-CONDUIT-CORE","error_info":"Parameter 'ui.external' has invalid type. Expected type 'optional bool', got type 'string'."}
Replacing 1 with true does not solve.
See also this ponder question (Q326) although there is no info in the question that isn't in this task.