@@ -6,9 +6,9 @@ The preview of the Validation Service API is available at `https://dev.validate.
66## Documentation
77
88Auto-generated documentation is available in both
9- [ Swagger] ( https://dev.validate.buildingsmart.org/api/swagger-ui )
9+ [ Swagger] ( https://dev.validate.buildingsmart.org/api/v1/ swagger-ui )
1010and
11- [ Redocly] ( https://dev.validate.buildingsmart.org/api/redoc )
11+ [ Redocly] ( https://dev.validate.buildingsmart.org/api/v1/ redoc )
1212formats.
1313
1414## Auth token
@@ -23,21 +23,21 @@ You can use this token either as a Bearer token or use it as the password in com
23231 . Sample to show difference between Token vs. Basic authentication
2424
2525 ``` shell
26- curl -X GET --location ' https://dev.validate.buildingsmart.org/api/validationrequest/ ' --header ' Authorization: Token <TOKEN>'
26+ curl -X GET --location ' https://dev.validate.buildingsmart.org/api/v1/validationrequest ' --header ' Authorization: Token <TOKEN>'
2727 ```
2828
2929 -or-
3030
3131 ` ` ` shell
32- curl -X GET --location ' https://dev.validate.buildingsmart.org/api/validationrequest/ ' --header ' Authorization: Basic <HASH>'
32+ curl -X GET --location ' https://dev.validate.buildingsmart.org/api/v1/validationrequest ' --header ' Authorization: Basic <HASH>'
3333 ` ` `
3434
3535 where ` < HASH> ` is the Base64-encoded email and token as password, separated by a colon, eg. base64(johndoe@gmail.com:abcdefgh12345)
3636
37372. Submit a POST request to the ` /validationrequest` endpoint to initiate a new Validation Request (requires a file name and the file contents):
3838
3939 ` ` ` shell
40- curl -X POST --location ' https://dev.validate.buildingsmart.org/api/validationrequest/ ' \
40+ curl -X POST --location ' https://dev.validate.buildingsmart.org/api/v1/validationrequest ' \
4141
4242 --header ' Authorization: Token <TOKEN>' \
4343
@@ -51,23 +51,23 @@ You can use this token either as a Bearer token or use it as the password in com
51513. Fetch details of a single ValidationRequest via a GET request to the ` /validationrequest` endpoint
5252
5353 ` ` ` shell
54- curl -X GET --location ' https://dev.validate.buildingsmart.org/api/validationrequest/r767775526' --header ' Authorization: Token <TOKEN>'
54+ curl -X GET --location ' https://dev.validate.buildingsmart.org/api/v1/ validationrequest/r767775526' --header ' Authorization: Token <TOKEN>'
5555 ` ` `
5656
57574. Fetch details of all ValidationRequests via a GET request to the ` /validationrequest` endpoint
5858
5959 ` ` ` shell
60- curl -X GET --location ' https://dev.validate.buildingsmart.org/api/validationrequest/ ' --header ' Authorization: Token <TOKEN>'
60+ curl -X GET --location ' https://dev.validate.buildingsmart.org/api/v1/validationrequest ' --header ' Authorization: Token <TOKEN>'
6161 ` ` `
6262
63635. Fetch all ValidationTasks for two ValidationRequests via a GET request to the ` /validationtask` endpoint
6464
6565 ` ` ` shell
66- curl -X GET --location ' https://dev.validate.buildingsmart.org/api/validationtask/ ?request_public_id=r75257132,r383446691' --header ' Authorization: Token <TOKEN>'
66+ curl -X GET --location ' https://dev.validate.buildingsmart.org/api/v1/validationtask ?request_public_id=r75257132,r383446691' --header ' Authorization: Token <TOKEN>'
6767 ` ` `
6868
69696. Fetch all the outcomes of a single ValidationRequest via a GET request to the ` /validationoutcome` endpoint
7070
7171 ` ` ` shell
72- curl -X GET --location ' https://dev.validate.buildingsmart.org/api/validationoutcome/ ?request_public_id=r75257132' --header ' Authorization: Token <TOKEN>'
72+ curl -X GET --location ' https://dev.validate.buildingsmart.org/api/v1/validationoutcome ?request_public_id=r75257132' --header ' Authorization: Token <TOKEN>'
7373 ` ` `
0 commit comments