Mike_S
1 Nickel

Question about API

Jump to solution

Hello,

I'd like to know if there are some API URI on OneFS 7.0 and 7.1 to get the informations below:

- JOBs running

- Cluster status

- Cluster events/alerts

- SmartPools status

Regards,

Mike

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Yan_Faubert
2 Iron

Re: Question about API

Jump to solution

The Platform API (PAPI) reference guide contains all accessible URI.  The most recent guide can be downloaded using this URL:

https://support.emc.com/docu50224_OneFS_7.1_Platform_API_Reference.pdf?language=en_US

From your list:

- JOBs running: See page 141 in the referenced pdf: GET /platform/1/job/jobs  (This should return running and paused jobs)

- Cluster status: Not possible to get this info via the API.

- Cluster events/alerts: Not possible to get this info via the API.

- SmartPools status: See SmartPools resource on page 277.  The closest one I could find to a 'SmartPools status' is:

Get the status of the OneFS pool system with GET /platform/1/storagepool/status

0 Kudos
2 Replies
Highlighted
Yan_Faubert
2 Iron

Re: Question about API

Jump to solution

The Platform API (PAPI) reference guide contains all accessible URI.  The most recent guide can be downloaded using this URL:

https://support.emc.com/docu50224_OneFS_7.1_Platform_API_Reference.pdf?language=en_US

From your list:

- JOBs running: See page 141 in the referenced pdf: GET /platform/1/job/jobs  (This should return running and paused jobs)

- Cluster status: Not possible to get this info via the API.

- Cluster events/alerts: Not possible to get this info via the API.

- SmartPools status: See SmartPools resource on page 277.  The closest one I could find to a 'SmartPools status' is:

Get the status of the OneFS pool system with GET /platform/1/storagepool/status

0 Kudos
Mike_S
1 Nickel

Re: Question about API

Jump to solution

Thank you so much Yan.

The document was really helpful.

Regards,

Mike

0 Kudos