json 欧特克锻
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json 欧特克锻相关的知识,希望对你有一定的参考价值。
{
"swagger": "2.0",
"info": {
"version": "1.0",
"title": "Forge - 2 legged (OSS)",
"description": "TODO: Add Description"
},
"host": "developer.api.autodesk.com",
"basePath": "/",
"securityDefinitions": {
"auth": {
"type": "oauth2",
"flow": "implicit",
"authorizationUrl": "https://developer.api.autodesk.com",
"scopes": {},
"x-skip-client-authentication": false
}
},
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/authentication/v1/authenticate": {
"post": {
"description": "",
"summary": "Authenticate",
"tags": [
"Misc"
],
"operationId": "AuthenticationV1AuthenticatePost",
"produces": [
"application/json"
],
"consumes": [
"application/x-www-form-urlencoded"
],
"parameters": [
{
"name": "grant_type",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "client_id",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "client_secret",
"in": "formData",
"required": true,
"type": "string",
"description": ""
},
{
"name": "scope",
"in": "formData",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/authentication/v1/authenticate",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"body": "grant_type=client_credentials&client_id={{ConsumerKey}}&client_secret={{ConsumerSecret}}&scope=data:read data:write data:create bucket:read bucket:create"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Authenticate",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/oss/v2/buckets": {
"post": {
"description": "",
"summary": "Create Bucket",
"tags": [
"Misc"
],
"operationId": "OssV2BucketsPost",
"produces": [
"application/json"
],
"parameters": [
{
"name": "Content-Type",
"in": "header",
"required": true,
"type": "string",
"description": ""
},
{
"name": "Body",
"in": "body",
"required": true,
"description": "",
"schema": {
"$ref": "#/definitions/CreateBucketrequest"
}
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/oss/v2/buckets",
"headers": {
"Content-Type": "application/json; charset=utf-8"
},
"body": "{\"bucketKey\":\"{{BucketKey}}\",\"permissions\":[{\"authId\":\"{{ClientId}}\",\"access\":\"full\"}],\"policyKey\":\"persistent\"}"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Create Bucket",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/oss/v2/buckets/{bucket}/objects/{object}": {
"put": {
"description": "",
"summary": "Upload File",
"tags": [
"Misc"
],
"operationId": "OssV2BucketsObjectsByBucketAndObjectPut",
"produces": [
"application/json"
],
"parameters": [
{
"name": "bucket",
"in": "path",
"required": true,
"type": "string",
"description": ""
},
{
"name": "object",
"in": "path",
"required": true,
"type": "string",
"description": ""
},
{
"name": "Content-Type",
"in": "header",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/Scissors.zipUpload"
},
"examples": {
"application/json": {
"bucketKey": "adamnagy-prod-postman-key2016-pers3",
"objectId": "urn:adsk.objects:os.object:adamnagy-prod-postman-key2016-pers3/scissors.zip",
"objectKey": "scissors.zip",
"sha1": "c851b53f753a38e6deae94b1d2c271c3c520e0ce",
"size": 1722336,
"contentType": "application/octet-stream",
"location": "https://developer.api.autodesk.com/oss/v2/buckets/adamnagy-prod-postman-key2016-pers3/objects/scissors.zip"
}
}
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "PUT",
"uri": "/oss/v2/buckets/%7B%7BBucketKey%7D%7D/objects/%7B%7BObjectName%7D%7D",
"headers": {
"Content-Type": "application/octet-stream"
}
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "RAW",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {
"Access-Control-Allow-Credentials": "true",
"Access-Control-Allow-Headers": "Session-Id,Content-Length,Accept-Encoding,x-ads-acm-check-groups,Content-Encoding,x-ads-acm-namespace,Content-Type,If-Modified-Since,Range,Accept,x-ads-acm-groups,Content-Range,x-requested-with,Expect,Access-Control-Allow-Credentials,If-None-Match,Access-Control-Allow-Origin,x-csrf-token,x-ads-test,Authorization,If-Match",
"Access-Control-Allow-Methods": "POST,GET,OPTIONS,HEAD,PUT,DELETE,PATCH",
"Access-Control-Allow-Origin": "chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop",
"Connection": "keep-alive",
"Content-Length": "429",
"Content-Type": "application/json; charset=utf-8",
"Date": "Tue, 27 Sep 2016 00:00:35 GMT",
"Server": "Apigee Router"
},
"body": "{\"bucketKey\":\"adamnagy-prod-postman-key2016-pers3\",\"objectId\":\"urn:adsk.objects:os.object:adamnagy-prod-postman-key2016-pers3/scissors.zip\",\"objectKey\":\"scissors.zip\",\"sha1\":\"c851b53f753a38e6deae94b1d2c271c3c520e0ce\",\"size\":1722336,\"contentType\":\"application/octet-stream\",\"location\":\"https://developer.api.autodesk.com/oss/v2/buckets/adamnagy-prod-postman-key2016-pers3/objects/scissors.zip\"}"
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Upload File",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/oss/v2/buckets/{bucketKey}/objects": {
"get": {
"description": "",
"summary": "Get Files",
"tags": [
"Misc"
],
"operationId": "OssV2BucketsObjectsByBucketKeyGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "bucketKey",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/oss/v2/buckets/%7B%7BBucketKey%7D%7D/objects"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Get Files",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/oss/v2/buckets/{bucketKey}/objects/{objectKey}/details": {
"get": {
"description": "",
"summary": "Get Details",
"tags": [
"Misc"
],
"operationId": "OssV2BucketsObjectsDetailsByBucketKeyAndObjectKeyGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "bucketKey",
"in": "path",
"required": true,
"type": "string",
"description": ""
},
{
"name": "objectKey",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/oss/v2/buckets/%7B%7BBucketKey%7D%7D/objects/%7B%7BObjectName%7D%7D/details"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Get Details",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/modelderivative/v2/designdata/formats": {
"get": {
"description": "",
"summary": "Get Formats",
"tags": [
"Misc"
],
"operationId": "ModelderivativeV2DesigndataFormatsGet",
"produces": [
"application/json"
],
"parameters": [],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/modelderivative/v2/designdata/formats"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Get Formats",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/modelderivative/v2/designdata/job": {
"post": {
"description": "",
"summary": "Post Job obj",
"tags": [
"Misc"
],
"operationId": "ModelderivativeV2DesigndataJobPost3",
"produces": [
"application/json"
],
"parameters": [
{
"name": "Content-Type",
"in": "header",
"required": true,
"type": "string",
"description": ""
},
{
"name": "Body",
"in": "body",
"required": true,
"description": "",
"schema": {
"$ref": "#/definitions/PostJobObjrequest"
}
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "POST",
"uri": "/modelderivative/v2/designdata/job",
"headers": {
"Content-Type": "application/json; charset=utf-8"
},
"body": "{\"input\":{\"urn\":\"{{Urn}}\",\"compressedUrn\":true,\"rootFilename\":\"{{RootFileName}}\"},\"output\":{\"destination\":{\"region\":\"us\"},\"formats\":[{\"type\":\"obj\",\"advanced\":{\"modelGuid\":\"{{ModelGuid}}\",\"objectIds\":[-1]}}]}}"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Post Job obj",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/modelderivative/v2/designdata/{urn}/manifest": {
"get": {
"description": "",
"summary": "Get Manifest",
"tags": [
"Misc"
],
"operationId": "ModelderivativeV2DesigndataManifestByUrnGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "urn",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/modelderivative/v2/designdata/%7B%7BUrn%7D%7D/manifest"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Get Manifest",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
},
"delete": {
"description": "",
"summary": "Delete Manifest",
"tags": [
"Misc"
],
"operationId": "ModelderivativeV2DesigndataManifestByUrnDelete",
"produces": [
"application/json"
],
"parameters": [
{
"name": "urn",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "DELETE",
"uri": "/modelderivative/v2/designdata/%7B%7BUrn%7D%7D/manifest"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Delete Manifest",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/modelderivative/v2/designdata/{urn}/metadata": {
"get": {
"description": "",
"summary": "Get Metadata",
"tags": [
"Misc"
],
"operationId": "ModelderivativeV2DesigndataMetadataByUrnGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "urn",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/modelderivative/v2/designdata/%7B%7BUrn%7D%7D/metadata"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Get Metadata",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/modelderivative/v2/designdata/{urn}/metadata/{guid}": {
"get": {
"description": "",
"summary": "Get Hierarchy",
"tags": [
"Misc"
],
"operationId": "ModelderivativeV2DesigndataMetadataByUrnAndGuidGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "urn",
"in": "path",
"required": true,
"type": "string",
"description": ""
},
{
"name": "guid",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/modelderivative/v2/designdata/%7B%7BUrn%7D%7D/metadata/%7B%7BModelGuid%7D%7D"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Get Hierarchy",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/modelderivative/v2/designdata/{urn}/metadata/{guid}/properties": {
"get": {
"description": "",
"summary": "Get Properties",
"tags": [
"Misc"
],
"operationId": "ModelderivativeV2DesigndataMetadataPropertiesByUrnAndGuidGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "urn",
"in": "path",
"required": true,
"type": "string",
"description": ""
},
{
"name": "guid",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/modelderivative/v2/designdata/%7B%7BUrn%7D%7D/metadata/%7B%7BModelGuid%7D%7D/properties"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Get Properties",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/modelderivative/v2/designdata/{urn}/thumbnail": {
"get": {
"description": "",
"summary": "Get Thumbnail",
"tags": [
"Misc"
],
"operationId": "ModelderivativeV2DesigndataThumbnailByUrnGet",
"produces": [
"application/json"
],
"parameters": [
{
"name": "urn",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "GET",
"uri": "/modelderivative/v2/designdata/%7B%7BUrn%7D%7D/thumbnail"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Get Thumbnail",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
},
"/oss/v2/buckets/{bucketKey}/objects/{objectName}": {
"delete": {
"description": "",
"summary": "Delete File",
"tags": [
"Misc"
],
"operationId": "OssV2BucketsObjectsByBucketKeyAndObjectNameDelete",
"produces": [
"application/json"
],
"parameters": [
{
"name": "bucketKey",
"in": "path",
"required": true,
"type": "string",
"description": ""
},
{
"name": "objectName",
"in": "path",
"required": true,
"type": "string",
"description": ""
}
],
"responses": {
"200": {
"description": ""
}
},
"security": [
{
"auth": []
}
],
"x-unitTests": [
{
"request": {
"method": "DELETE",
"uri": "/oss/v2/buckets/%7B%7BBucketKey%7D%7D/objects/%7B%7BObjectName%7D%7D"
},
"expectedResponse": {
"x-allowExtraHeaders": true,
"x-bodyMatchMode": "NONE",
"x-arrayOrderedMatching": false,
"x-arrayCheckCount": false,
"x-matchResponseSchema": true,
"headers": {}
},
"x-testShouldPass": true,
"x-testEnabled": true,
"x-testName": "Delete File",
"x-testDescription": ""
}
],
"x-operation-settings": {
"CollectParameters": false,
"AllowDynamicQueryParameters": false,
"AllowDynamicFormParameters": false,
"IsMultiContentStreaming": false
}
}
}
},
"definitions": {
"CreateBucketrequest": {
"title": "Create BucketRequest",
"example": {
"bucketKey": "{{BucketKey}}",
"permissions": [
{
"authId": "{{ClientId}}",
"access": "full"
}
],
"policyKey": "persistent"
},
"type": "object",
"properties": {
"bucketKey": {
"description": "",
"example": "{{BucketKey}}",
"type": "string"
},
"permissions": {
"description": "",
"example": [
{
"authId": "{{ClientId}}",
"access": "full"
}
],
"type": "array",
"items": {
"$ref": "#/definitions/Permission"
}
},
"policyKey": {
"description": "",
"example": "persistent",
"type": "string"
}
},
"required": [
"bucketKey",
"permissions",
"policyKey"
]
},
"Permission": {
"title": "Permission",
"example": {
"authId": "{{ClientId}}",
"access": "full"
},
"type": "object",
"properties": {
"authId": {
"description": "",
"example": "{{ClientId}}",
"type": "string"
},
"access": {
"description": "",
"example": "full",
"type": "string"
}
},
"required": [
"authId",
"access"
]
},
"Scissors.zipUpload": {
"title": "scissors.zip upload",
"example": {
"bucketKey": "adamnagy-prod-postman-key2016-pers3",
"objectId": "urn:adsk.objects:os.object:adamnagy-prod-postman-key2016-pers3/scissors.zip",
"objectKey": "scissors.zip",
"sha1": "c851b53f753a38e6deae94b1d2c271c3c520e0ce",
"size": 1722336,
"contentType": "application/octet-stream",
"location": "https://developer.api.autodesk.com/oss/v2/buckets/adamnagy-prod-postman-key2016-pers3/objects/scissors.zip"
},
"type": "object",
"properties": {
"bucketKey": {
"description": "",
"example": "adamnagy-prod-postman-key2016-pers3",
"type": "string"
},
"objectId": {
"description": "",
"example": "urn:adsk.objects:os.object:adamnagy-prod-postman-key2016-pers3/scissors.zip",
"type": "string"
},
"objectKey": {
"description": "",
"example": "scissors.zip",
"type": "string"
},
"sha1": {
"description": "",
"example": "c851b53f753a38e6deae94b1d2c271c3c520e0ce",
"type": "string"
},
"size": {
"description": "",
"example": 1722336,
"type": "integer",
"format": "int32"
},
"contentType": {
"description": "",
"example": "application/octet-stream",
"type": "string"
},
"location": {
"description": "",
"example": "https://developer.api.autodesk.com/oss/v2/buckets/adamnagy-prod-postman-key2016-pers3/objects/scissors.zip",
"type": "string"
}
},
"required": [
"bucketKey",
"objectId",
"objectKey",
"sha1",
"size",
"contentType",
"location"
]
},
"PostJobSvfrequest": {
"title": "Post Job svfRequest",
"example": {
"input": {
"urn": "{{Urn}}",
"compressedUrn": true,
"rootFilename": "{{RootFileName}}"
},
"output": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "svf",
"views": [
"3d",
"2d"
]
}
]
}
},
"type": "object",
"properties": {
"input": {
"$ref": "#/definitions/Input"
},
"output": {
"$ref": "#/definitions/Output"
}
},
"required": [
"input",
"output"
]
},
"Input": {
"title": "Input",
"example": {
"urn": "{{Urn}}",
"compressedUrn": true,
"rootFilename": "{{RootFileName}}"
},
"type": "object",
"properties": {
"urn": {
"description": "",
"example": "{{Urn}}",
"type": "string"
},
"compressedUrn": {
"description": "",
"example": true,
"type": "boolean"
},
"rootFilename": {
"description": "",
"example": "{{RootFileName}}",
"type": "string"
}
},
"required": [
"urn",
"compressedUrn",
"rootFilename"
]
},
"Output": {
"title": "Output",
"example": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "svf",
"views": [
"3d",
"2d"
]
}
]
},
"type": "object",
"properties": {
"destination": {
"$ref": "#/definitions/Destination"
},
"formats": {
"description": "",
"example": [
{
"type": "svf",
"views": [
"3d",
"2d"
]
}
],
"type": "array",
"items": {
"$ref": "#/definitions/Format"
}
}
},
"required": [
"destination",
"formats"
]
},
"Destination": {
"title": "Destination",
"example": {
"region": "us"
},
"type": "object",
"properties": {
"region": {
"description": "",
"example": "us",
"type": "string"
}
},
"required": [
"region"
]
},
"Format": {
"title": "Format",
"example": {
"type": "svf",
"views": [
"3d",
"2d"
]
},
"type": "object",
"properties": {
"type": {
"description": "",
"example": "svf",
"type": "string"
},
"views": {
"description": "",
"example": [
"3d",
"2d"
],
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"type",
"views"
]
},
"PostJobSteprequest": {
"title": "Post Job stepRequest",
"example": {
"input": {
"urn": "{{Urn}}",
"compressedUrn": true,
"rootFilename": "{{RootFileName}}"
},
"output": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "step"
}
]
}
},
"type": "object",
"properties": {
"input": {
"$ref": "#/definitions/Input"
},
"output": {
"$ref": "#/definitions/Output10"
}
},
"required": [
"input",
"output"
]
},
"Output10": {
"title": "Output10",
"example": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "step"
}
]
},
"type": "object",
"properties": {
"destination": {
"$ref": "#/definitions/Destination"
},
"formats": {
"description": "",
"example": [
{
"type": "step"
}
],
"type": "array",
"items": {
"$ref": "#/definitions/Format12"
}
}
},
"required": [
"destination",
"formats"
]
},
"Format12": {
"title": "Format12",
"example": {
"type": "step"
},
"type": "object",
"properties": {
"type": {
"description": "",
"example": "step",
"type": "string"
}
},
"required": [
"type"
]
},
"PostJobObjrequest": {
"title": "Post Job objRequest",
"example": {
"input": {
"urn": "{{Urn}}",
"compressedUrn": true,
"rootFilename": "{{RootFileName}}"
},
"output": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "obj",
"advanced": {
"modelGuid": "{{ModelGuid}}",
"objectIds": [
-1
]
}
}
]
}
},
"type": "object",
"properties": {
"input": {
"$ref": "#/definitions/Input"
},
"output": {
"$ref": "#/definitions/Output15"
}
},
"required": [
"input",
"output"
]
},
"Output15": {
"title": "Output15",
"example": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "obj",
"advanced": {
"modelGuid": "{{ModelGuid}}",
"objectIds": [
-1
]
}
}
]
},
"type": "object",
"properties": {
"destination": {
"$ref": "#/definitions/Destination"
},
"formats": {
"description": "",
"example": [
{
"type": "obj",
"advanced": {
"modelGuid": "{{ModelGuid}}",
"objectIds": [
-1
]
}
}
],
"type": "array",
"items": {
"$ref": "#/definitions/Format17"
}
}
},
"required": [
"destination",
"formats"
]
},
"Format17": {
"title": "Format17",
"example": {
"type": "obj",
"advanced": {
"modelGuid": "{{ModelGuid}}",
"objectIds": [
-1
]
}
},
"type": "object",
"properties": {
"type": {
"description": "",
"example": "obj",
"type": "string"
},
"advanced": {
"$ref": "#/definitions/Advanced"
}
},
"required": [
"type",
"advanced"
]
},
"Advanced": {
"title": "Advanced",
"example": {
"modelGuid": "{{ModelGuid}}",
"objectIds": [
-1
]
},
"type": "object",
"properties": {
"modelGuid": {
"description": "",
"example": "{{ModelGuid}}",
"type": "string"
},
"objectIds": {
"description": "",
"example": [
-1
],
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
},
"required": [
"modelGuid",
"objectIds"
]
}
}
}
以上是关于json 欧特克锻的主要内容,如果未能解决你的问题,请参考以下文章