From d98a56c8673b218d3d17edf1d1736f52ca95a828 Mon Sep 17 00:00:00 2001
From: Matthew Schwartz
Date: Fri, 24 May 2019 13:00:35 -0400
Subject: [PATCH 01/10] [maven-release-plugin] prepare for next development
iteration
---
jpo-ode-common/pom.xml | 2 +-
jpo-ode-core/pom.xml | 6 +++---
jpo-ode-plugins/pom.xml | 4 ++--
jpo-ode-svcs/pom.xml | 6 +++---
pom.xml | 4 ++--
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/jpo-ode-common/pom.xml b/jpo-ode-common/pom.xml
index d6d0368a7..63e6af4ad 100644
--- a/jpo-ode-common/pom.xml
+++ b/jpo-ode-common/pom.xml
@@ -5,7 +5,7 @@
usdot.jpo.ode
jpo-ode
- 0.0.8
+ 0.0.9-SNAPSHOT
jpo-ode-common
diff --git a/jpo-ode-core/pom.xml b/jpo-ode-core/pom.xml
index c5b7a39e3..acfc39dd3 100644
--- a/jpo-ode-core/pom.xml
+++ b/jpo-ode-core/pom.xml
@@ -5,7 +5,7 @@
usdot.jpo.ode
jpo-ode
- 0.0.8
+ 0.0.9-SNAPSHOT
jpo-ode-core
@@ -23,12 +23,12 @@
usdot.jpo.ode
jpo-ode-common
- 0.0.8
+ 0.0.9-SNAPSHOT
usdot.jpo.ode
jpo-ode-plugins
- 0.0.8
+ 0.0.9-SNAPSHOT
org.apache.httpcomponents
diff --git a/jpo-ode-plugins/pom.xml b/jpo-ode-plugins/pom.xml
index c537f83ca..f0cbfa9ff 100644
--- a/jpo-ode-plugins/pom.xml
+++ b/jpo-ode-plugins/pom.xml
@@ -11,7 +11,7 @@
usdot.jpo.ode
jpo-ode
- 0.0.8
+ 0.0.9-SNAPSHOT
@@ -27,7 +27,7 @@
usdot.jpo.ode
jpo-ode-common
- 0.0.8
+ 0.0.9-SNAPSHOT
/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1","\\2")+"|"+block.list.source.replace("\\1","\\3")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm){if(this.options.tables){this.rules=block.tables}else{this.rules=block.gfm}}}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)};Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top,bq){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1){this.tokens.push({type:"space"})}}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm,"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]||""});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i ?/gm,"");this.token(cap,top,true);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length);bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i1&&b.length>1)){src=cap.slice(i+1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item.charAt(item.length-1)==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false,bq);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&(cap[1]==="pre"||cap[1]==="script"||cap[1]==="style"),text:cap[0]});continue}if(!bq&&top&&(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal;this.renderer=this.options.renderer||new Renderer;this.renderer.options=this.options;if(!this.links){throw new Error("Tokens array requires a `links` property.")}if(this.options.gfm){if(this.options.breaks){this.rules=inline.breaks}else{this.rules=inline.gfm}}else if(this.options.pedantic){this.rules=inline.pedantic}}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length);out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1].charAt(6)===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=this.renderer.link(href,null,text);continue}if(!this.inLink&&(cap=this.rules.url.exec(src))){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=this.renderer.link(href,null,text);continue}if(cap=this.rules.tag.exec(src)){if(!this.inLink&&/^/i.test(cap[0])){this.inLink=false}src=src.substring(cap[0].length);out+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(cap[0]):escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);this.inLink=true;out+=this.outputLink(cap,{href:cap[2],title:cap[3]});this.inLink=false;continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0].charAt(0);src=cap[0].substring(1)+src;continue}this.inLink=true;out+=this.outputLink(cap,link);this.inLink=false;continue}if(cap=this.rules.strong.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.strong(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.em(this.output(cap[2]||cap[1]));continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.codespan(escape(cap[2],true));continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.br();continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.del(this.output(cap[1]));continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=this.renderer.text(escape(this.smartypants(cap[0])));continue}if(src){throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}}return out};InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return cap[0].charAt(0)!=="!"?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"â€").replace(/\.{3}/g,"…")};InlineLexer.prototype.mangle=function(text){if(!this.options.mangle)return text;var out="",l=text.length,i=0,ch;for(;i.5){ch="x"+ch.toString(16)}out+=""+ch+";"}return out};function Renderer(options){this.options=options||{}}Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);if(out!=null&&out!==code){escaped=true;code=out}}if(!lang){return""+(escaped?code:escape(code,true))+"\n
"}return''+(escaped?code:escape(code,true))+"\n
\n"};Renderer.prototype.blockquote=function(quote){return"\n"+quote+"
\n"};Renderer.prototype.html=function(html){return html};Renderer.prototype.heading=function(text,level,raw){return"\n"};Renderer.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"};Renderer.prototype.list=function(body,ordered){var type=ordered?"ol":"ul";return"<"+type+">\n"+body+""+type+">\n"};Renderer.prototype.listitem=function(text){return""+text+"\n"};Renderer.prototype.paragraph=function(text){return""+text+"
\n"};Renderer.prototype.table=function(header,body){return"\n"+"\n"+header+"\n"+"\n"+body+"\n"+"
\n"};Renderer.prototype.tablerow=function(content){return"\n"+content+"
\n"};Renderer.prototype.tablecell=function(content,flags){var type=flags.header?"th":"td";var tag=flags.align?"<"+type+' style="text-align:'+flags.align+'">':"<"+type+">";return tag+content+""+type+">\n"};Renderer.prototype.strong=function(text){return""+text+""};Renderer.prototype.em=function(text){return""+text+""};Renderer.prototype.codespan=function(text){return""+text+"
"};Renderer.prototype.br=function(){return this.options.xhtml?"
":"
"};Renderer.prototype.del=function(text){return""+text+""};Renderer.prototype.link=function(href,title,text){if(this.options.sanitize){try{var prot=decodeURIComponent(unescape(href)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(prot.indexOf("javascript:")===0||prot.indexOf("vbscript:")===0){return""}}var out='"+text+"";return out};Renderer.prototype.image=function(href,title,text){var out='":">";return out};Renderer.prototype.text=function(text){return text};function Parser(options){this.tokens=[];this.token=null;this.options=options||marked.defaults;this.options.renderer=this.options.renderer||new Renderer;this.renderer=this.options.renderer;this.renderer.options=this.options}Parser.parse=function(src,options,renderer){var parser=new Parser(options,renderer);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options,this.renderer);this.tokens=src.reverse();var out="";while(this.next()){out+=this.tok()}return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text;while(this.peek().type==="text"){body+="\n"+this.next().text}return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case"space":{return""}case"hr":{return this.renderer.hr()}case"heading":{return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text)}case"code":{return this.renderer.code(this.token.text,this.token.lang,this.token.escaped)}case"table":{var header="",body="",i,row,cell,flags,j;cell="";for(i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")}function unescape(html){return html.replace(/&([#\w]+);/g,function(_,n){n=n.toLowerCase();if(n==="colon")return":";if(n.charAt(0)==="#"){return n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1))}return""})}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i=1,target,key;for(;iAn error occurred:
"+escape(e.message+"",true)+"
"}throw e}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,sanitizer:null,mangle:true,smartLists:false,silent:false,highlight:null,langPrefix:"lang-",smartypants:false,headerPrefix:"",renderer:new Renderer,xhtml:false};marked.Parser=Parser;marked.parser=Parser.parse;marked.Renderer=Renderer;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output;marked.parse=marked;if(typeof module!=="undefined"&&typeof exports==="object"){module.exports=marked}else if(typeof define==="function"&&define.amd){define(function(){return marked})}else{this.marked=marked}}).call(function(){return this||(typeof window!=="undefined"?window:global)}());
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- LogFile
-
-
-
-
uploadObulog
-
File upload interface
-
-
-
-
- Uploads an OBU log file to ODE upload folder to be processed and propaged
-
-
- /upload/obulog
-
-
Usage and SDK Samples
-
-
-
-
-
-
curl -X POST "https://yourhostname/upload/obulog"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.LogFileApi;
-
-import java.io.File;
-import java.util.*;
-
-public class LogFileApiExample {
-
- public static void main(String[] args) {
-
- LogFileApi apiInstance = new LogFileApi();
- File file = /path/to/file.txt; // File | The file to upload.
- try {
- array[Status] result = apiInstance.uploadObulog(file);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling LogFileApi#uploadObulog");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
import io.swagger.client.api.LogFileApi;
-
-public class LogFileApiExample {
-
- public static void main(String[] args) {
- LogFileApi apiInstance = new LogFileApi();
- File file = /path/to/file.txt; // File | The file to upload.
- try {
- array[Status] result = apiInstance.uploadObulog(file);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling LogFileApi#uploadObulog");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
File *file = /path/to/file.txt; // The file to upload. (optional)
-
-LogFileApi *apiInstance = [[LogFileApi alloc] init];
-
-// File upload interface
-[apiInstance uploadObulogWith:file
- completionHandler: ^(array[Status] output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
- }];
-
-
-
-
-
var OdeRestApi = require('ode_rest_api');
-
-var api = new OdeRestApi.LogFileApi()
-
-var opts = {
- 'file': /path/to/file.txt // {File} The file to upload.
-};
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.uploadObulog(opts, callback);
-
-
-
-
-
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
- public class uploadObulogExample
- {
- public void main()
- {
-
- var apiInstance = new LogFileApi();
- var file = new File(); // File | The file to upload. (optional)
-
- try
- {
- // File upload interface
- array[Status] result = apiInstance.uploadObulog(file);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling LogFileApi.uploadObulog: " + e.Message );
- }
- }
- }
-}
-
-
-
-
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\Api\LogFileApi();
-$file = /path/to/file.txt; // File | The file to upload.
-
-try {
- $result = $api_instance->uploadObulog($file);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling LogFileApi->uploadObulog: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
-
-
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::LogFileApi;
-
-my $api_instance = WWW::SwaggerClient::LogFileApi->new();
-my $file = /path/to/file.txt; # File | The file to upload.
-
-eval {
- my $result = $api_instance->uploadObulog(file => $file);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling LogFileApi->uploadObulog: $@\n";
-}
-
-
-
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.LogFileApi()
-file = /path/to/file.txt # File | The file to upload. (optional)
-
-try:
- # File upload interface
- api_response = api_instance.upload_obulog(file=file)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling LogFileApi->uploadObulog: %s\n" % e)
-
-
-
- Parameters
-
-
-
-
- Form parameters
-
-
- Name |
- Description |
-
- file |
-
-
-
-
-
-
-
- File
-
-
-
- The file to upload.
-
-
-
-
- |
-
-
-
-
-
- Responses
- Status: 200 - File uploaded successfully
-
-
-
-
-
- Status: 400 - Bad Request. Issued if request is invalid or failed to be executed. See the response body or ODE User Guide for details.
-
-
-
-
-
- Status: 500 - Internal Server Error. See the response body or ODE User Guide for details.
-
-
-
-
-
-
-
-
-
-
- PDM
-
-
-
-
pdmPost
-
PDM Interface
-
-
-
-
- Submits a Probe Data Management message to ODE for distribution to the specified RSUs.
-
-
- /pdm
-
-
Usage and SDK Samples
-
-
-
-
-
-
curl -X POST "https://yourhostname/pdm"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.PDMApi;
-
-import java.io.File;
-import java.util.*;
-
-public class PDMApiExample {
-
- public static void main(String[] args) {
-
- PDMApi apiInstance = new PDMApi();
- ProbeDataManagement probeDataManagement = ; // ProbeDataManagement | PDM Message
- try {
- array[Status] result = apiInstance.pdmPost(probeDataManagement);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling PDMApi#pdmPost");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
import io.swagger.client.api.PDMApi;
-
-public class PDMApiExample {
-
- public static void main(String[] args) {
- PDMApi apiInstance = new PDMApi();
- ProbeDataManagement probeDataManagement = ; // ProbeDataManagement | PDM Message
- try {
- array[Status] result = apiInstance.pdmPost(probeDataManagement);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling PDMApi#pdmPost");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
ProbeDataManagement *probeDataManagement = ; // PDM Message
-
-PDMApi *apiInstance = [[PDMApi alloc] init];
-
-// PDM Interface
-[apiInstance pdmPostWith:probeDataManagement
- completionHandler: ^(array[Status] output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
- }];
-
-
-
-
-
var OdeRestApi = require('ode_rest_api');
-
-var api = new OdeRestApi.PDMApi()
-
-var probeDataManagement = ; // {ProbeDataManagement} PDM Message
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.pdmPost(probeDataManagement, callback);
-
-
-
-
-
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
- public class pdmPostExample
- {
- public void main()
- {
-
- var apiInstance = new PDMApi();
- var probeDataManagement = new ProbeDataManagement(); // ProbeDataManagement | PDM Message
-
- try
- {
- // PDM Interface
- array[Status] result = apiInstance.pdmPost(probeDataManagement);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling PDMApi.pdmPost: " + e.Message );
- }
- }
- }
-}
-
-
-
-
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\Api\PDMApi();
-$probeDataManagement = ; // ProbeDataManagement | PDM Message
-
-try {
- $result = $api_instance->pdmPost($probeDataManagement);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling PDMApi->pdmPost: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
-
-
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::PDMApi;
-
-my $api_instance = WWW::SwaggerClient::PDMApi->new();
-my $probeDataManagement = WWW::SwaggerClient::Object::ProbeDataManagement->new(); # ProbeDataManagement | PDM Message
-
-eval {
- my $result = $api_instance->pdmPost(probeDataManagement => $probeDataManagement);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling PDMApi->pdmPost: $@\n";
-}
-
-
-
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.PDMApi()
-probeDataManagement = # ProbeDataManagement | PDM Message
-
-try:
- # PDM Interface
- api_response = api_instance.pdm_post(probeDataManagement)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling PDMApi->pdmPost: %s\n" % e)
-
-
-
- Parameters
-
-
-
- Body parameters
-
-
- Name |
- Description |
-
- probeDataManagement * |
-
-
-
-
-
- |
-
-
-
-
-
-
- Responses
- Status: 200 - Probe Data Management message was submitted successfully. See the response body or ODE User Guide for details.
-
-
-
-
-
- Status: 400 - Bad Request. Issued if request is invalid or failed to be executed. See the response body or ODE User Guide for details.
-
-
-
-
-
- Status: 500 - Internal Server Error. See the response body or ODE User Guide for details.
-
-
-
-
-
-
-
-
-
-
- SNMP
-
-
-
-
snmpGet
-
RSU SNMP Query
-
-
-
-
- Check the health and status of RSU devices through SNMP communication. You should receive a detailed plain text response that looks like the following example. If the device is off, a 4 second timeout will occur and the ODE will indicate this with an "[ERROR] Empty response" message. (This specific OID returns the amount of time since the device was last powered on) "[1.3.6.1.2.1.1.3.0 = 0:05:12.59]"
-
-
- /rsuHeartbeat
-
-
Usage and SDK Samples
-
-
-
-
-
-
curl -X GET "https://yourhostname/rsuHeartbeat?ip=&oid="
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.SNMPApi;
-
-import java.io.File;
-import java.util.*;
-
-public class SNMPApiExample {
-
- public static void main(String[] args) {
-
- SNMPApi apiInstance = new SNMPApi();
- BigDecimal ip = 8.14; // BigDecimal | IP address of an RSU
- BigDecimal oid = 8.14; // BigDecimal | OID of the attribute you wish to check on
- try {
- Status result = apiInstance.snmpGet(ip, oid);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling SNMPApi#snmpGet");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
import io.swagger.client.api.SNMPApi;
-
-public class SNMPApiExample {
-
- public static void main(String[] args) {
- SNMPApi apiInstance = new SNMPApi();
- BigDecimal ip = 8.14; // BigDecimal | IP address of an RSU
- BigDecimal oid = 8.14; // BigDecimal | OID of the attribute you wish to check on
- try {
- Status result = apiInstance.snmpGet(ip, oid);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling SNMPApi#snmpGet");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
BigDecimal *ip = 8.14; // IP address of an RSU
-BigDecimal *oid = 8.14; // OID of the attribute you wish to check on
-
-SNMPApi *apiInstance = [[SNMPApi alloc] init];
-
-// RSU SNMP Query
-[apiInstance snmpGetWith:ip
- oid:oid
- completionHandler: ^(Status output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
- }];
-
-
-
-
-
var OdeRestApi = require('ode_rest_api');
-
-var api = new OdeRestApi.SNMPApi()
-
-var ip = 8.14; // {BigDecimal} IP address of an RSU
-
-var oid = 8.14; // {BigDecimal} OID of the attribute you wish to check on
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.snmpGet(ip, oid, callback);
-
-
-
-
-
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
- public class snmpGetExample
- {
- public void main()
- {
-
- var apiInstance = new SNMPApi();
- var ip = 8.14; // BigDecimal | IP address of an RSU
- var oid = 8.14; // BigDecimal | OID of the attribute you wish to check on
-
- try
- {
- // RSU SNMP Query
- Status result = apiInstance.snmpGet(ip, oid);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling SNMPApi.snmpGet: " + e.Message );
- }
- }
- }
-}
-
-
-
-
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\Api\SNMPApi();
-$ip = 8.14; // BigDecimal | IP address of an RSU
-$oid = 8.14; // BigDecimal | OID of the attribute you wish to check on
-
-try {
- $result = $api_instance->snmpGet($ip, $oid);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling SNMPApi->snmpGet: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
-
-
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::SNMPApi;
-
-my $api_instance = WWW::SwaggerClient::SNMPApi->new();
-my $ip = 8.14; # BigDecimal | IP address of an RSU
-my $oid = 8.14; # BigDecimal | OID of the attribute you wish to check on
-
-eval {
- my $result = $api_instance->snmpGet(ip => $ip, oid => $oid);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling SNMPApi->snmpGet: $@\n";
-}
-
-
-
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.SNMPApi()
-ip = 8.14 # BigDecimal | IP address of an RSU
-oid = 8.14 # BigDecimal | OID of the attribute you wish to check on
-
-try:
- # RSU SNMP Query
- api_response = api_instance.snmp_get(ip, oid)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling SNMPApi->snmpGet: %s\n" % e)
-
-
-
- Parameters
-
-
-
-
-
- Query parameters
-
-
- Name |
- Description |
-
- ip* |
-
-
-
-
-
-
-
- BigDecimal
-
-
- (string)
-
-
-
- IP address of an RSU
-
-
-
- Required
-
-
-
- |
-
-
- oid* |
-
-
-
-
-
-
-
- BigDecimal
-
-
- (string)
-
-
-
- OID of the attribute you wish to check on
-
-
-
- Required
-
-
-
- |
-
-
-
-
- Responses
- Status: 200 - OID responses
-
-
-
-
-
- Status: 400 - Value input error
-
-
-
-
-
-
-
-
-
-
- TIM
-
-
-
-
timDelete
-
Delete a TIM message on an RSU.
-
-
-
-
- Sets the status of a designated message index on an RSU to 6.
-
-
- /tim
-
-
Usage and SDK Samples
-
-
-
-
-
-
curl -X DELETE "https://yourhostname/tim?index="
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.TIMApi;
-
-import java.io.File;
-import java.util.*;
-
-public class TIMApiExample {
-
- public static void main(String[] args) {
-
- TIMApi apiInstance = new TIMApi();
- BigDecimal index = 8.14; // BigDecimal | Index of message to be deleted
- try {
- Status result = apiInstance.timDelete(index);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling TIMApi#timDelete");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
import io.swagger.client.api.TIMApi;
-
-public class TIMApiExample {
-
- public static void main(String[] args) {
- TIMApi apiInstance = new TIMApi();
- BigDecimal index = 8.14; // BigDecimal | Index of message to be deleted
- try {
- Status result = apiInstance.timDelete(index);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling TIMApi#timDelete");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
BigDecimal *index = 8.14; // Index of message to be deleted
-
-TIMApi *apiInstance = [[TIMApi alloc] init];
-
-// Delete a TIM message on an RSU.
-[apiInstance timDeleteWith:index
- completionHandler: ^(Status output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
- }];
-
-
-
-
-
var OdeRestApi = require('ode_rest_api');
-
-var api = new OdeRestApi.TIMApi()
-
-var index = 8.14; // {BigDecimal} Index of message to be deleted
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.timDelete(index, callback);
-
-
-
-
-
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
- public class timDeleteExample
- {
- public void main()
- {
-
- var apiInstance = new TIMApi();
- var index = 8.14; // BigDecimal | Index of message to be deleted
-
- try
- {
- // Delete a TIM message on an RSU.
- Status result = apiInstance.timDelete(index);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TIMApi.timDelete: " + e.Message );
- }
- }
- }
-}
-
-
-
-
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\Api\TIMApi();
-$index = 8.14; // BigDecimal | Index of message to be deleted
-
-try {
- $result = $api_instance->timDelete($index);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling TIMApi->timDelete: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
-
-
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::TIMApi;
-
-my $api_instance = WWW::SwaggerClient::TIMApi->new();
-my $index = 8.14; # BigDecimal | Index of message to be deleted
-
-eval {
- my $result = $api_instance->timDelete(index => $index);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling TIMApi->timDelete: $@\n";
-}
-
-
-
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.TIMApi()
-index = 8.14 # BigDecimal | Index of message to be deleted
-
-try:
- # Delete a TIM message on an RSU.
- api_response = api_instance.tim_delete(index)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling TIMApi->timDelete: %s\n" % e)
-
-
-
- Parameters
-
-
-
-
-
- Query parameters
-
-
- Name |
- Description |
-
- index* |
-
-
-
-
-
-
-
- BigDecimal
-
-
- (integer)
-
-
-
- Index of message to be deleted
-
-
-
- Required
-
-
-
- |
-
-
-
-
- Responses
- Status: 200 - Deleted index
-
-
-
-
-
- Status: 400 - Error in body request
-
-
-
-
-
- Status: 408 - Timeout
-
-
-
-
-
- Status: 500 - Misc error
-
-
-
-
-
-
-
-
-
-
-
-
timPost
-
Submit Traveler Information Message (TIM) for broadcast to Connected Vehicles.
-
-
-
-
- Submits a TIM message to ODE for distribution to the specified RSUs and SDW.
-
-
- /tim
-
-
Usage and SDK Samples
-
-
-
-
-
-
curl -X POST "https://yourhostname/tim"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.TIMApi;
-
-import java.io.File;
-import java.util.*;
-
-public class TIMApiExample {
-
- public static void main(String[] args) {
-
- TIMApi apiInstance = new TIMApi();
- TravelerInputData travelerInputData = ; // TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
- try {
- array[Status] result = apiInstance.timPost(travelerInputData);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling TIMApi#timPost");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
import io.swagger.client.api.TIMApi;
-
-public class TIMApiExample {
-
- public static void main(String[] args) {
- TIMApi apiInstance = new TIMApi();
- TravelerInputData travelerInputData = ; // TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
- try {
- array[Status] result = apiInstance.timPost(travelerInputData);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling TIMApi#timPost");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
TravelerInputData *travelerInputData = ; // Message containing the parameters for a Traveler Information Message including delivery information.
-
-TIMApi *apiInstance = [[TIMApi alloc] init];
-
-// Submit Traveler Information Message (TIM) for broadcast to Connected Vehicles.
-[apiInstance timPostWith:travelerInputData
- completionHandler: ^(array[Status] output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
- }];
-
-
-
-
-
var OdeRestApi = require('ode_rest_api');
-
-var api = new OdeRestApi.TIMApi()
-
-var travelerInputData = ; // {TravelerInputData} Message containing the parameters for a Traveler Information Message including delivery information.
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.timPost(travelerInputData, callback);
-
-
-
-
-
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
- public class timPostExample
- {
- public void main()
- {
-
- var apiInstance = new TIMApi();
- var travelerInputData = new TravelerInputData(); // TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
-
- try
- {
- // Submit Traveler Information Message (TIM) for broadcast to Connected Vehicles.
- array[Status] result = apiInstance.timPost(travelerInputData);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TIMApi.timPost: " + e.Message );
- }
- }
- }
-}
-
-
-
-
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\Api\TIMApi();
-$travelerInputData = ; // TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
-
-try {
- $result = $api_instance->timPost($travelerInputData);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling TIMApi->timPost: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
-
-
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::TIMApi;
-
-my $api_instance = WWW::SwaggerClient::TIMApi->new();
-my $travelerInputData = WWW::SwaggerClient::Object::TravelerInputData->new(); # TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
-
-eval {
- my $result = $api_instance->timPost(travelerInputData => $travelerInputData);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling TIMApi->timPost: $@\n";
-}
-
-
-
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.TIMApi()
-travelerInputData = # TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
-
-try:
- # Submit Traveler Information Message (TIM) for broadcast to Connected Vehicles.
- api_response = api_instance.tim_post(travelerInputData)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling TIMApi->timPost: %s\n" % e)
-
-
-
- Parameters
-
-
-
- Body parameters
-
-
- Name |
- Description |
-
- travelerInputData * |
-
-
-
-
-
- |
-
-
-
-
-
-
- Responses
- Status: 200 - Traveleer Information Message was submitted successfully. See the response body or ODE User Guide for details.
-
-
-
-
-
- Status: 400 - Bad Request. Issued if request is invalid or failed to be executed. See the response body or ODE User Guide for details.
-
-
-
-
-
- Status: 500 - Internal Server Error. See the response body or ODE User Guide for details.
-
-
-
-
-
-
-
-
-
-
-
-
timPut
-
Used to update an existing TIM already present on an RSU.
-
-
-
-
- Update a Traveler Information Message (TIM) that has already been deposited to an RSU. Parameters and response codes are identical to the POST request. Will also deposit the new message to the SDW, if the SDW field is present.
-
-
- /tim
-
-
Usage and SDK Samples
-
-
-
-
-
-
curl -X PUT "https://yourhostname/tim"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.TIMApi;
-
-import java.io.File;
-import java.util.*;
-
-public class TIMApiExample {
-
- public static void main(String[] args) {
-
- TIMApi apiInstance = new TIMApi();
- TravelerInputData travelerInputData = ; // TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
- try {
- array[Status] result = apiInstance.timPut(travelerInputData);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling TIMApi#timPut");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
import io.swagger.client.api.TIMApi;
-
-public class TIMApiExample {
-
- public static void main(String[] args) {
- TIMApi apiInstance = new TIMApi();
- TravelerInputData travelerInputData = ; // TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
- try {
- array[Status] result = apiInstance.timPut(travelerInputData);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling TIMApi#timPut");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
TravelerInputData *travelerInputData = ; // Message containing the parameters for a Traveler Information Message including delivery information.
-
-TIMApi *apiInstance = [[TIMApi alloc] init];
-
-// Used to update an existing TIM already present on an RSU.
-[apiInstance timPutWith:travelerInputData
- completionHandler: ^(array[Status] output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
- }];
-
-
-
-
-
var OdeRestApi = require('ode_rest_api');
-
-var api = new OdeRestApi.TIMApi()
-
-var travelerInputData = ; // {TravelerInputData} Message containing the parameters for a Traveler Information Message including delivery information.
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.timPut(travelerInputData, callback);
-
-
-
-
-
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
- public class timPutExample
- {
- public void main()
- {
-
- var apiInstance = new TIMApi();
- var travelerInputData = new TravelerInputData(); // TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
-
- try
- {
- // Used to update an existing TIM already present on an RSU.
- array[Status] result = apiInstance.timPut(travelerInputData);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TIMApi.timPut: " + e.Message );
- }
- }
- }
-}
-
-
-
-
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\Api\TIMApi();
-$travelerInputData = ; // TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
-
-try {
- $result = $api_instance->timPut($travelerInputData);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling TIMApi->timPut: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
-
-
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::TIMApi;
-
-my $api_instance = WWW::SwaggerClient::TIMApi->new();
-my $travelerInputData = WWW::SwaggerClient::Object::TravelerInputData->new(); # TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
-
-eval {
- my $result = $api_instance->timPut(travelerInputData => $travelerInputData);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling TIMApi->timPut: $@\n";
-}
-
-
-
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.TIMApi()
-travelerInputData = # TravelerInputData | Message containing the parameters for a Traveler Information Message including delivery information.
-
-try:
- # Used to update an existing TIM already present on an RSU.
- api_response = api_instance.tim_put(travelerInputData)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling TIMApi->timPut: %s\n" % e)
-
-
-
- Parameters
-
-
-
- Body parameters
-
-
- Name |
- Description |
-
- travelerInputData * |
-
-
-
-
-
- |
-
-
-
-
-
-
- Responses
- Status: 200 - Traveleer Information Message was submitted successfully. See the response body or ODE User Guide for details.
-
-
-
-
-
- Status: 400 - Bad Request. Issued if request is invalid or failed to be executed. See the response body or ODE User Guide for details.
-
-
-
-
-
- Status: 500 - Internal Server Error. See the response body or ODE User Guide for details.
-
-
-
-
-
-
-
-
-
-
-
-
timQuery
-
Query an RSU for set TIMs
-
-
-
-
- Query an RSU for set TIMs
-
-
- /tim/query
-
-
Usage and SDK Samples
-
-
-
-
-
-
curl -X POST "https://yourhostname/tim/query"
-
-
-
import io.swagger.client.*;
-import io.swagger.client.auth.*;
-import io.swagger.client.model.*;
-import io.swagger.client.api.TIMApi;
-
-import java.io.File;
-import java.util.*;
-
-public class TIMApiExample {
-
- public static void main(String[] args) {
-
- TIMApi apiInstance = new TIMApi();
- RSU rSU = ; // RSU |
- try {
- Status result = apiInstance.timQuery(rSU);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling TIMApi#timQuery");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
import io.swagger.client.api.TIMApi;
-
-public class TIMApiExample {
-
- public static void main(String[] args) {
- TIMApi apiInstance = new TIMApi();
- RSU rSU = ; // RSU |
- try {
- Status result = apiInstance.timQuery(rSU);
- System.out.println(result);
- } catch (ApiException e) {
- System.err.println("Exception when calling TIMApi#timQuery");
- e.printStackTrace();
- }
- }
-}
-
-
-
-
RSU *rSU = ; //
-
-TIMApi *apiInstance = [[TIMApi alloc] init];
-
-// Query an RSU for set TIMs
-[apiInstance timQueryWith:rSU
- completionHandler: ^(Status output, NSError* error) {
- if (output) {
- NSLog(@"%@", output);
- }
- if (error) {
- NSLog(@"Error: %@", error);
- }
- }];
-
-
-
-
-
var OdeRestApi = require('ode_rest_api');
-
-var api = new OdeRestApi.TIMApi()
-
-var rSU = ; // {RSU}
-
-
-var callback = function(error, data, response) {
- if (error) {
- console.error(error);
- } else {
- console.log('API called successfully. Returned data: ' + data);
- }
-};
-api.timQuery(rSU, callback);
-
-
-
-
-
-
using System;
-using System.Diagnostics;
-using IO.Swagger.Api;
-using IO.Swagger.Client;
-using IO.Swagger.Model;
-
-namespace Example
-{
- public class timQueryExample
- {
- public void main()
- {
-
- var apiInstance = new TIMApi();
- var rSU = new RSU(); // RSU |
-
- try
- {
- // Query an RSU for set TIMs
- Status result = apiInstance.timQuery(rSU);
- Debug.WriteLine(result);
- }
- catch (Exception e)
- {
- Debug.Print("Exception when calling TIMApi.timQuery: " + e.Message );
- }
- }
- }
-}
-
-
-
-
-
<?php
-require_once(__DIR__ . '/vendor/autoload.php');
-
-$api_instance = new Swagger\Client\Api\TIMApi();
-$rSU = ; // RSU |
-
-try {
- $result = $api_instance->timQuery($rSU);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling TIMApi->timQuery: ', $e->getMessage(), PHP_EOL;
-}
-?>
-
-
-
-
use Data::Dumper;
-use WWW::SwaggerClient::Configuration;
-use WWW::SwaggerClient::TIMApi;
-
-my $api_instance = WWW::SwaggerClient::TIMApi->new();
-my $rSU = WWW::SwaggerClient::Object::RSU->new(); # RSU |
-
-eval {
- my $result = $api_instance->timQuery(rSU => $rSU);
- print Dumper($result);
-};
-if ($@) {
- warn "Exception when calling TIMApi->timQuery: $@\n";
-}
-
-
-
-
from __future__ import print_statement
-import time
-import swagger_client
-from swagger_client.rest import ApiException
-from pprint import pprint
-
-# create an instance of the API class
-api_instance = swagger_client.TIMApi()
-rSU = # RSU |
-
-try:
- # Query an RSU for set TIMs
- api_response = api_instance.tim_query(rSU)
- pprint(api_response)
-except ApiException as e:
- print("Exception when calling TIMApi->timQuery: %s\n" % e)
-
-
-
- Parameters
-
-
-
- Body parameters
-
-
- Name |
- Description |
-
- rSU * |
-
-
-
-
-
- |
-
-
-
-
-
-
- Responses
- Status: 200 - List of messages in JSON form
-
-
-
-
-
- Status: 400 - Error in body request
-
-
-
-
-
- Status: 408 - Timeout
-
-
-
-
-
- Status: 500 - Misc error
-
-
-
-
-
-
-
-
-
-
-
-
-
- Generated 2018-04-30T22:35:56.953Z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-