Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unix Timestamp (Independent Publisher) #1188

Merged
merged 40 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
160b208
certify-connector
troystaylor Jun 2, 2021
5fb06db
certify-connector
troystaylor Jun 2, 2021
08dd312
Revert "certify-connector"
troystaylor Jun 2, 2021
4d7fb5d
Revert "certify-connector"
troystaylor Jun 2, 2021
1ce889c
certify-connector
troystaylor Jun 2, 2021
f1a1cc3
certify-connector
troystaylor Jun 3, 2021
620a2cc
certify-connector
troystaylor Jun 4, 2021
5ee79bc
Update apiDefinition.swagger.json
troystaylor Jun 14, 2021
06373fc
Update apiDefinition.swagger.json
troystaylor Jun 14, 2021
3f91d0e
Update apiDefinition.swagger.json
troystaylor Jun 14, 2021
0b9558f
Delete icon.png
troystaylor Jun 14, 2021
c4baf93
Delete settings.json
troystaylor Jun 14, 2021
f8931ee
Update apiDefinition.swagger.json
troystaylor Jun 30, 2021
5274cde
Delete independent-publisher-connectors/HubSpot CMS directory
troystaylor Jul 23, 2021
408a9d1
Delete independent-publisher-connectors/HubSpot CRM directory
troystaylor Jul 23, 2021
abf6aa1
Delete independent-publisher-connectors/HubSpot Marketing directory
troystaylor Jul 23, 2021
74c1af4
Delete independent-publisher-connectors/Xero Accounting directory
troystaylor Jul 23, 2021
b8d9e83
Delete independent-publisher-connectors/Xero Payroll - UK directory
troystaylor Jul 23, 2021
fd67085
Delete independent-publisher-connectors/Xero Projects directory
troystaylor Jul 23, 2021
5a0a16e
Merge branch 'microsoft:dev' into dev
troystaylor Jul 23, 2021
b9467b3
Merge branch 'microsoft:dev' into dev
troystaylor Jul 30, 2021
f23baf9
Merge branch 'microsoft:dev' into dev
troystaylor Aug 8, 2021
ced2e36
Merge branch 'microsoft:dev' into dev
troystaylor Aug 26, 2021
ff73efa
Merge branch 'microsoft:dev' into dev
troystaylor Aug 27, 2021
308734e
Merge branch 'microsoft:dev' into dev
troystaylor Aug 31, 2021
d3649e4
Merge branch 'microsoft:dev' into dev
troystaylor Sep 9, 2021
fd3d5a8
Merge branch 'microsoft:dev' into dev
troystaylor Sep 15, 2021
4fc3991
Merge branch 'microsoft:dev' into dev
troystaylor Sep 17, 2021
e968160
Merge branch 'microsoft:dev' into dev
troystaylor Sep 22, 2021
0e04cfb
Merge branch 'microsoft:dev' into dev
troystaylor Sep 29, 2021
228e20f
Merge branch 'microsoft:dev' into dev
troystaylor Oct 7, 2021
909a359
Include iconBrandColor #da3b01 for IP
troystaylor Oct 7, 2021
a563344
Include iconBrandColor #da3b01 in best practices
troystaylor Oct 7, 2021
a6358ee
Merge branch 'microsoft:dev' into dev
troystaylor Oct 8, 2021
52dfc8a
Rename README.template.md to readme.md
troystaylor Oct 8, 2021
a72822c
Add templates for IP
troystaylor Oct 8, 2021
38444f4
Merge branch 'microsoft:dev' into dev
troystaylor Oct 14, 2021
bbea0cf
Fix typo
troystaylor Oct 14, 2021
6363163
Merge branch 'microsoft:dev' into Unix-Timestamp
troystaylor Oct 15, 2021
815c3e0
Add files via upload
troystaylor Oct 15, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
{
"swagger": "2.0",
"info": {
"title": "Unix Timestamp",
"description": "Converts Unix timestamps to DateTime objects and DateTime objects to Unix timestamps.",
"version": "1.0",
"contact": {
"name": "Troy Taylor",
"url": "https://www.hitachisolutions.com",
"email": "[email protected]"
}
},
"host": "showcase.api.linx.twenty57.net",
"basePath": "/UnixTime/",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/fromunixtimestamp": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"Datetime": {
"type": "string",
"description": "The datetime.",
"title": "DateTime"
}
}
}
}
},
"summary": "Unix Timestamp to UTC DateTime",
"description": "Converts Unix timestamp to UTC datetime (yyyy-MM-dd HH:mm:ss).",
"operationId": "Unix2UTCDateTime",
"parameters": [
{
"name": "unixtimestamp",
"in": "query",
"required": false,
"type": "integer",
"description": "The Unix timestamp.",
"x-ms-summary": "Unix Timestamp"
}
]
},
"post": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"Datetime": {
"type": "string",
"description": "The datetime.",
"title": "Datetime"
}
}
}
}
},
"summary": "Unix Timestamp to DateTime with Timezone",
"description": "Converts Unix timestamp to datetime with timezone (yyyy-MM-dd'T'HH:mm:ssXXX).",
"operationId": "Unix2DateTimeTimezone",
"parameters": [
{
"name": "body",
"in": "body",
"required": false,
"schema": {
"type": "object",
"properties": {
"UnixTimeStamp": {
"type": "string",
"description":"The Unix timestamp.",
"title": "UnixTimeStamp"
},
"Timezone": {
"type": "string",
"description": "The timezone.",
"title": "Timezone"
}
}
}
}
]
}
},
"/tounixtimestamp": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"UnixTimeStamp": {
"type": "string",
"description": "The Unix timestamp.",
"title": "UnixTimeStamp"
}
}
}
}
},
"summary": "DateTime to Unix Timestamp",
"description": "Converts datetime (multiple formats) to Unix timestamp.",
"operationId": "DateTime2UnixTimestamp",
"parameters": [
{
"name": "datetime",
"in": "query",
"required": false,
"type": "string",
"default": "now",
"description": "The datetime.",
"x-ms-summary": "DateTime"
}
]
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": [],
"x-ms-connector-metadata": [
{
"propertyName": "Website",
"propertyValue": "https://unixtime.co.za/"
},
{
"propertyName": "Privacy policy",
"propertyValue": "https://unixtime.co.za/"
},
{
"propertyName": "Categories",
"propertyValue": "Data"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"properties": {
"connectionParameters": {},
"iconBrandColor": "#da3b01",
"capabilities": [],
"publisher": "Troy Taylor, Hitachi Solutions",
"stackOwner": "Franz Rodenacker"
}
}
23 changes: 23 additions & 0 deletions independent-publisher-connectors/Unix Timestamp/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Unix Timestamp
Converts Unix timestamps to DateTime objects and DateTime objects to Unix timestamps.

## Publisher: Troy Taylor, Hitachi Solutions

## Prerequisites
There is no prerequisite for this service.

## Obtaining Credentials
There are no credentials needed for this service.


## Supported Operations

### DateTime to Unix Timestamp
Converts datetime (multiple formats) to Unix timestamp.
### Unix Timestamp to UTC DateTime
Converts Unix timestamp to UTC datetime (yyyy-MM-dd HH:mm:ss).
### Unix Timestamp to DateTime with Timezone
Converts Unix timestamp to datetime with timezone (yyyy-MM-dd'T'HH:mm:ssXXX).

## Known Issues and Limitations
There are no known issues at this time.