Download OpenAPI specification:
As part of Atinary™ Nexus, we offer a downloadable software development kit (SDK) client, which facilitates the access to the application programming interface (API) entry point. This API allows users to manage their project subscriptions and to share files among collaborators involved in the same project(s). The api usage requires an API KEY, associated to your Atinary™ Nexus account. You can generate your API KEY on your account information page.
List available files for a specific project. Note that only users subscribed to the project can list its files.
| project-id | string (ProjectId) = 36 characters ^prj_[0-9a-f]{32}$ Example: prj_00000000000000000000000000000000 Required ID assigned to the project once created in Atinary™ Nexus. |
| group-type | string (GroupType) [ 5 .. 10 ] characters ^(parameters|properties|other)$ Example: parameters String indicating how the file is classified. Available values are parameters, properties or other. |
{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "objects": [
- {
- "id": "fle_00000000000000000000000000000001",
- "name": "example_1.txt",
- "group_type": "parameters",
- "creation_date": "2021-03-31T09:22:26.421782Z"
}, - {
- "id": "fle_00000000000000000000000000000001",
- "name": "example_1.txt",
- "group_type": "parameters",
- "creation_date": "2021-03-31T09:22:26.421782Z"
}, - {
- "id": "fle_00000000000000000000000000000001",
- "name": "example_1.txt",
- "group_type": "parameters",
- "creation_date": "2021-03-31T09:22:26.421782Z"
}, - {
- "id": "fle_00000000000000000000000000000001",
- "name": "example_1.txt",
- "group_type": "parameters",
- "creation_date": "2021-03-31T09:22:26.421782Z"
}, - {
- "id": "fle_00000000000000000000000000000001",
- "name": "example_1.txt",
- "group_type": "parameters",
- "creation_date": "2021-03-31T09:22:26.421782Z"
}
], - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e"
}Upload a file under a specific project. Note that only users subscribed to the project can upload files to it.
| project_id required | string (ProjectId) = 36 characters ^prj_[0-9a-f]{32}$ Example: project_id=prj_00000000000000000000000000000000 ID assigned to the project once created in Atinary™ Nexus. |
| group_type required | string (GroupType) [ 5 .. 10 ] characters ^(parameters|properties|other)$ Example: group_type=parameters String indicating how the file is classified. Available values are parameters, properties or other. |
Form-data object containing the file to upload. Maximum size length is 500 MB. Allowed extensions are csv, json, txt, xml, yaml and yml.
| file required | string <binary> <= 524288000 characters |
{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "object": {
- "id": "fle_00000000000000000000000000000001",
- "name": "example_1.txt",
- "group_type": "parameters",
- "creation_date": "2021-03-31T09:22:26.421782Z"
}
}Delete several files in a project.
| project-id | string (ProjectId) = 36 characters ^prj_[0-9a-f]{32}$ Example: prj_00000000000000000000000000000000 Required ID assigned to the project once created in Atinary™ Nexus. |
Json object specifying the name.
| ids required | Array of strings (ids) [ 1 .. 500 ] items [ items = 36 characters ^fle_[0-9a-f]{32}$ ] A comma separated list of file_id to delete. |
[- "fle_00000000000000000000000000000001",
- "fle_00000000000000000000000000000002",
- "fle_00000000000000000000000000000003"
]generic success response
{- "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "result": {
- "code": 200,
- "message": "success"
}
}Delete a specific file. Note that every file belongs to a project and only users subscribed to that project are authorized to request deletions on it.
| file_id required | string (FileId) = 36 characters ^fle_[0-9a-f]{32}$ Example: fle_00000000000000000000000000000000 ID assigned to the file once it is uploaded. |
generic success response
{- "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "result": {
- "code": 200,
- "message": "success"
}
}Download a specific file. Note that every file belongs to a project and only users subscribed to the project are authorized to request downloads from it.
| file_id required | string (FileId) = 36 characters ^fle_[0-9a-f]{32}$ Example: fle_00000000000000000000000000000000 ID assigned to the file once it is uploaded. |
{- "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "result": {
- "code": 400,
- "message": "Invalid Credentials"
}
}List the projects you are subscribed to, create a new project, invite collaborators into an existing project or remove a subscription to a project
List individual project subscriptions.
| group_id | string (group_id) [ 1 .. 128 ] characters ^[\w-]+$ Example: group_id=atinary_group Group identifiers |
{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "objects": [
- {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example 1",
- "owner": "owner@domain.com",
- "files": {
- "parameters": 1,
- "properties": 2,
- "other": 0
}, - "description": "Project Description.",
- "creation_date": "2021-03-31T09:22:26"
}, - {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example 1",
- "owner": "owner@domain.com",
- "files": {
- "parameters": 1,
- "properties": 2,
- "other": 0
}, - "description": "Project Description.",
- "creation_date": "2021-03-31T09:22:26"
}, - {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example 1",
- "owner": "owner@domain.com",
- "files": {
- "parameters": 1,
- "properties": 2,
- "other": 0
}, - "description": "Project Description.",
- "creation_date": "2021-03-31T09:22:26"
}, - {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example 1",
- "owner": "owner@domain.com",
- "files": {
- "parameters": 1,
- "properties": 2,
- "other": 0
}, - "description": "Project Description.",
- "creation_date": "2021-03-31T09:22:26"
}, - {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example 1",
- "owner": "owner@domain.com",
- "files": {
- "parameters": 1,
- "properties": 2,
- "other": 0
}, - "description": "Project Description.",
- "creation_date": "2021-03-31T09:22:26"
}
], - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e"
}Create a new project by providing a project name. The user who calls this method is automatically added to the project and assigned as project owner. Note that if the user is already subscribed to a project with the same name the request will be denied.
Json object specifying the name.
| name required | string (name) [ 1 .. 50 ] characters ^[ -~]+$ Name assigned to the project |
| description | string (description) [ 0 .. 255 ] characters ^[ -~]*$ Default: "" Description of the project. |
| group_id | string (group_id) [ 1 .. 128 ] characters ^[\w-]+$ Group identifier (group name in this case) |
{- "group_id": "atinary_group",
- "name": "my_project_name",
- "description": "This project is made for testing purposes."
}{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "object": {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example 1",
- "owner": "owner@domain.com",
- "files": {
- "parameters": 1,
- "properties": 2,
- "other": 0
}, - "description": "Project Description.",
- "creation_date": "2021-03-31T09:22:26"
}
}Delete a project. The project deletion causes the deletion of all files and subscriptions associated with it. Note that a project can only be deleted by the project owner.
| project_id required | string (ProjectId) = 36 characters ^prj_[0-9a-f]{32}$ Example: prj_00000000000000000000000000000000 ID assigned to the project once created in Atinary™ Nexus. |
generic success response
{- "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "result": {
- "code": 200,
- "message": "success"
}
}Get project information. List project id, project owner, members and creation date. Note that only users subscribed to the project can request for information on it.
| project_id required | string (ProjectId) = 36 characters ^prj_[0-9a-f]{32}$ Example: prj_00000000000000000000000000000000 ID assigned to the project once created in Atinary™ Nexus. |
{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "object": {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example",
- "owner": "owner@domain.com",
- "members": [
- "member_1@domain.com",
- "member_2@domain.com"
], - "files": {
- "parameters": 1,
- "properties": 2,
- "other": 3
}, - "description": "Project Description",
- "creation_date": "2021-03-31T09:22:26.421782"
}
}Update project name, description and owner
| project_id required | string (ProjectId) = 36 characters ^prj_[0-9a-f]{32}$ Example: prj_00000000000000000000000000000000 ID assigned to the project once created in Atinary™ Nexus. |
Json object containing new_name, new_description and/or new_owner. Note that only users subscribed to the project can be project owners. The project owner is the only one authorized to call this method.
| new_name | string (name) [ 1 .. 50 ] characters ^[ -~]+$ Name assigned to the project |
| new_description | string (description) [ 0 .. 255 ] characters ^[ -~]*$ Default: "" Description of the project. |
| new_owner | string <email> (Email) [ 4 .. 254 ] characters ^(?=[a-zA-Z0-9][a-zA-Z0-9@._%+-]{5,253}$)[a-z... User email |
{- "new_owner": "user@domain.com",
- "new_name": "my_project_name",
- "new_description": "This project is made for testing purposes."
}{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "object": {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example 1",
- "owner": "owner@domain.com",
- "files": {
- "parameters": 1,
- "properties": 2,
- "other": 0
}, - "description": "Project Description.",
- "creation_date": "2021-03-31T09:22:26"
}
}Add users to a project. Note that only the project owner can add users to the project.
| project_id required | string (ProjectId) = 36 characters ^prj_[0-9a-f]{32}$ Example: prj_00000000000000000000000000000000 ID assigned to the project once created in Atinary™ Nexus. |
Json object containing the list of user emails to add to the project.
| email_list required | Array of strings <email> (email_list) [ 1 .. 50 ] items [ items <email > [ 4 .. 254 ] characters ^(?=[a-zA-Z0-9][a-zA-Z0-9@._%+-]{5,253}$)[a-z... ] A comma separated list of user emails. |
{- "email_list": [
- "user@domain.com",
- "user@domain.com",
- "user@domain.com",
- "user@domain.com",
- "user@domain.com"
]
}{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "object": {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example",
- "owner": "owner@domain.com",
- "members": [
- "member_1@domain.com",
- "member_2@domain.com"
], - "files": {
- "parameters": 1,
- "properties": 2,
- "other": 3
}, - "description": "Project Description",
- "creation_date": "2021-03-31T09:22:26.421782"
}
}Unsubscribe oneself from a project or unsubscribe members from a project. Note that: 1) to unsubscribe members from a project one needs to be project owner, and 2) the project owner can not unsubscribe from his own project.
| project_id required | string (ProjectId) = 36 characters ^prj_[0-9a-f]{32}$ Example: prj_00000000000000000000000000000000 ID assigned to the project once created in Atinary™ Nexus. |
Json object containing the list of user emails to unsubscribe from the project. If this list is empty, then the caller is unsubscribed from the project.
| email_list | Array of strings or null <email> (email_list) <= 50 items [ items <email > [ 4 .. 254 ] characters ^(?=[a-zA-Z0-9][a-zA-Z0-9@._%+-]{5,253}$)[a-z... ] A comma separated list of user emails. |
{- "email_list": [
- "user@domain.com",
- "user@domain.com",
- "user@domain.com",
- "user@domain.com",
- "user@domain.com"
]
}{- "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "result": {
- "code": 200,
- "message": "Success"
}
}Create an example project containing a text file with some basic instructions on it.
| group_id | string (group_id) [ 1 .. 128 ] characters ^[\w-]+$ Example: group_id=atinary_group Group identifiers |
{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "object": {
- "id": "prj_00000000000000000000000000000000",
- "name": "project example 1",
- "owner": "owner@domain.com",
- "files": {
- "parameters": 1,
- "properties": 2,
- "other": 0
}, - "description": "Project Description.",
- "creation_date": "2021-03-31T09:22:26"
}
}Delete a Group. The group deletion causes the deletion of all projects, files, and subscriptions associated with it. Note that a group can only be deleted by an admin.
| group_id required | string (group_id) [ 1 .. 128 ] characters ^[\w-]+$ Example: atinary_group Group identifiers |
generic success response
{- "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "result": {
- "code": 200,
- "message": "success"
}
}{- "result": {
- "code": 0,
- "resource": "prj_00000000000000000000000000000000",
- "message": "Success"
}, - "request_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",
- "object": {
- "allowed_extensions": [
- "csv",
- "yaml",
- "yml"
]
}
}