list objects all the vAPI tag doesn't seem to work.  Someone at - he accomplished this through the plugin vAPI successfully?

I'm trying to make sense of the vAPI plugin and also reading books online and I saw no examples of the list of marked objects.  If I access the rest api directly and look at the definitions of resource for com/vmware/vapi/rest/navigation/resource/id:com.vmware.cis.tagging.Tag I see what looks like what I need:


{

'name': 'list_attached_objects ',.

'documentation': 'from the list {@term} objects attached to the given tag. To call this operation of {@term}, you have the privilege of reading on the input tag. Will return only the objects for which you have read privileges. «,

'service': 'com.vmware.cis.tagging.tag_association ',.

'Links':]

{

'method': 'POST',

          "href": " https://server.example.com/rest/com/vmware/cis/tagging/tag-association/id: " {tag_id}? ~ action = list-home-objects '

}

],

'metadata': {}

'method': 'GET ',.

        "href": " https:// Server.example.com/rest/com/vmware/vapi/metadata/metamodel/service/operation/id:com.vmware.cis.tagging.tag_association/id:list_attached_objects.

}

}

When I try to run it I get an error from the api as follows:

{

'name': 'com.vmware.vapi.rest.httpNotFound ',.

"localizableMessages":]

{

"defaultMessage": 'Not found.',

'id': 'com.vmware.vapi.rest.httpNotFound '.

}

],

'majorErrorCode': 404

}

Anyone here know this api well enough to tell me if I make the correct call and if so can check you if it works?  eternallyfrustratedbyvmware how's this for a tag? hopeijustneededtortfm

How did you run it? Using plugin HTTP-REST?

vAPI plugin does not communicate with endpoint vAPI via REST. You can use script objects vAPI automatically generated when you imported vAPI metamodele.

You can watch 'List all tags' workflow example that comes with vAPI plugin and modify it. The script code might look like the following (endpoint and tagid are input parameters)

if (endpoint == null) {
  throw "'endpoint' parameter should not be null";
}

var client = endpoint.client();
var tagging = new com_vmware_cis_tagging_tag__association(client);
var result = tagging.list_attached_objects(tagid);

System.log(result);

Tags: VMware

Similar Questions

  • can I select a default font for menus dvd-'apply to all '. 2 selection doesn't seem to work.

    in Pre12 should I do to select a font by default for menus dvd-'apply to all... '. 2 selection doesn't seem to work. I want to use times new roman for everything and it's a pain scroll through the list of fonts for each title.  OR Alternatively - delete a large number of fonts in the list?

    grantham8

    What version of Premiere Elements you are using and on what computer operating system is running?

    The answer to your question "Pre12 can I select a default font for menus dvd.

    as I see that's no (any version).

    These are fonts, fonts siize and font color in the PSD file of the theme that is being back from the movie first elements Menu customization area. Either:

    a. do you the menu customization possibilities they present

    or

    b. If you want to than this menu always present with all by using the desired font, and then change PSD file of the theme on the hard drive (with Photoshop CS or higher).

    It is my understanding that Premiere Elements uses the fonts are fonts of Windows. Even if you could selectively delete all fonts in a given menu, I think that the end result would be a menu that didn't work rather than one that is lacking in your policy of survival because there was no other to select.

    Yet once, the police of a particular topic is predetermined by the police which was designed in the .psd for the menu file.

    If you want information on how to change the fonts of your theme at the .psd level, let me know the involved menu and details the police change., point by point, buttons, titles...

    Please review and consider.

    Thank you.

    RTA

  • every so often the video doesn't seem to work on LifeCam Cinema.

    Original title: Problems of LifeCam cinema

    I am on WIndows 7
    I had my Lifecam Cinema for a few months and occasionally the video doesn't seem to work, I managed to solve this last time, but I don't remember how I did it
    I can Skype call and the cam turns on with light blue alittle, but I get a black screen with a symbol of buffering

    Hello

    I suggest you try the hub of switching on another computer and check if the webcam works fine.

    When the USB connection is currently used on the front of the computer, I suggest you try a port in the back and check if it helps!

    I hope that helps!

  • How to get a list of all the tags of XMLElement

    (CS5, Win7 64 bit)

    I need a list of all unique XML tag names in a given document (just as the Panel tags in InDesign itself).

    I couldn't find a 'normal' way (builtin - in the property or method) to obtain the information. Instead, I found that I had to process recursively through the entire tree of XMLElement, starting with the root element. For a large document, it can take almost a quarter of an hour, and sometimes I have to do it for a book of InDesgin INDD files huge more than a decade.

    There MUST be a better way, right?

    It would be better if I was done through all the PageItems in the document and then recurse XMLElement each PageItem l‟arbre? I guess that would not make a difference to fade way.

    I'm open to suggestions...

    TIA,

    mlavie

    Try this,

    $.writeln (app.activeDocument.xmlTags.everyItem () .name);

  • How to display the list of all the constraints, triggers, procedures... .etc

    Hello
    How to view a list of all the available constraints, triggers, procedures, functions and packages in a database. And how to view its definition?

    user12222356 wrote:
    Not working is this said sql statement "object"sys"". "" DBA_OBJECTS"does not exist"

    OK, so the problem is that you have not allowed access to any data dictionary table. If you want to be able to view all of the DBA_ * dictionary of data tables, you need the ADMINISTRATOR to grant you the privilege to CHOOSE ANY DICTIONARY.

    In the future, when you post an error message, in addition to displaying the error message, it will be useful if you can get the error number, for example, that is, ORA-xxxxx

    Justin

  • The list of all the steps in a sequence file

    Hi guys,.

    I'm new on the forum of NI Teststand, so this my first topic here. The situation is the following:

    Currently I develop a LV operator interface and I need to have a list of all the test step in a sequence file.

    I am able to list all the steps of a sequence, but in the file of the entire sequence.

    Are there opportunities to do?

    Thanks in advance!

    Hi Maroci,

    first of all, I am also quite new to TestStand, but I still think I can help you a bit.

    Given that your code works for a sequence in the file simply browse all the sequences in the SequenceFile. Consider something like this:

    This help you?
    Edit: Don forgt not (like me) to close the SequenceFile reference!

  • HP 14-ro24TX Haswell Corei3: can I have a list of all the RAM sticks capable for HP 14-ro24TX Haswell Corei3

    Can Inplease cause a list of all the RAM sticks, that I can use it on the HP 14 - ro24TX Haswell Corei3

    Hello

    You have a lot of messages. Please use the following post:

    http://h30434.www3.HP.com/T5/notebook-hardware-and-upgrade-questions/will-the-Kingston-Technology-4GB-1600MHz-DDR3L-PC3-12800/m-p/5721473

    Thank you.

  • In Windows Mail, when I want to create an email, then click on the "to:" I do not get my list of contacts with folders, I have just the button get a long list of all the contacts in my contact list.

    I'm having a problem with Windows Mail.  I have Vista.  When I want to create an email and find people to send to, then click on the "to:" I do not receive my contacts with folders list, I have just the button get a long list of all the contacts in my contact list and no folder where to choose from... and MANY of them are repeated 2 or 3 times.  It takes me forever to browse all of the names to find the little that I could transmit or write.    I tried to delete properties, but they simply duplicate himself instead of delete.  Since the contacts button, it's how I organized them... but there is no contact on the "create mail" window button click to access my files organized.  Can anyone help?

    original title: problem with Windows Mail

    Hello

    I suggest that you check the troubleshooting provided by S of Halima steps and check if they help to resolve the issue.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_programs/i-have-Vista-and-Windows-mail-i-cant-create-a/ace23d91-5d55-4AC7-8ca1-75aa5d53fb20

  • Don't need a list of all the recipients printed as wasting valuable resources

    Original title: print the list of safe senders

    Don't need a list of all the recipients printed as a waste of valuable resources paper and ink printing *.

    A little additional information would facilitate answering questions.

    What type of program. Print what etc.

    If you're talking about emails from Outlook.

    Export the data as a CSV file, but exclude unwanted fields, in particular the field of message body, because that would be very great.

    Import into Excel and clean the remaining fields.

  • New to pix, need help with "debug access list of all the" command

    I have a pix 515 v6.3. I am tring to use then "debug access list of all the" command to see what traffic is stopped by my access list. However, I don't get any output. I turn execution of the command, but nothing happens. Other debug commands give the console. Perhaps, I do not understand what "debug to access list of all the" is used for. Any help that can be provided would be greatly appreciated.

    Tim

    Also try following the commands of logging

    LOGG on

    LOGG buff 7

    term Lun

    M.

  • How can I generate a list of all the albums I have in my music library

    How can I generate a list of all the albums I have in my music library

    See http://answers.microsoft.com/en-us/windows/forum/windows_7-sound/how-to-print-a-list-of-items-in-the-window-media/6490fe4f-bb0e-4afa-97ca-3ce58c3aaeba

    but, if you only do this several times, you can use this procedure instead:

    Open a command prompt in your folder music [shift-right click on the name of the folder in the Windows Explorer & select a window of commands here]

    Run the dir/ad/b /s > AlbumList.txt

    Then open the text file in Word and he put away: -.

    Replaceyourusernamewith Nothing \Music\ C:\Users\

    Replace-with ^ t [the code of the tab]

    Select all, convert table to use the trademarks of the tab as column separators

    Select column 1 [the artists], and delete

    If there is garbage in all 3 columns - go just delete the columns thus

    That should leave a unique list of album names

  • Where is the list of all the questions I ask myself?

    Hello

    I did not use the community forums for a long time and I've noticed that things have changed and so I looked around to familiarize myself with the things again.

    However, I find is no longer the list of questions I have asked over the years and would love to be able to access them again if possible.

    Does anyone know that that they have been removed? Or if there is a way I can find my questions?

    Really appreciate your time and your help.

    Thank you!

    Click on your post: where is the list of all the questions I ask myself?

    Click on your name in blue at the top of your message

    Click on content in your profile under your photo and a little left.

    You should see a list of your messages.

  • List of all the roles a user belongs

    Hello
    I want to get a list of all the roles to which a user belongs with OIM 11 g APIs.
    oracle.iam.identity.usermgmt.api.UserManager
    oracle.iam.identity.rolemgmt.api.RoleManager

    A code example will be very useful.

    Thank you

    for the time being, use "*" instead of ConstantsDefinition.WILDCARD and move forward

  • How to get a list of all the pipes in a ThinApp

    I have a simple program to list all files in a folder.  I use it to get a list of named pipes by the way
    \\.\pipe\*as the argument, but it does not work if I Pack the program as a fine application.  I get the error code 3 (ERROR_PATH_NOT_FOUND).  I tried to use CreateFile on
    \\.\pipe\but he also failed when running as a ThinApp. Are their ways to get a list of all the pipes in a ThinApp?  Here is the source code.

    #include <windows.h>
    #include <tchar.h>
    #include <stdio.h>
    
    #include "stdafx.h"
    
    int main(int argc, char* argv[])
    {
       WIN32_FIND_DATA FindFileData;
       HANDLE hFind;
    
       if( argc != 2 )
       {
              _tprintf(TEXT("Usage: %s [target_file]\n"), argv[0]);
              return -1;
       }
    
       _tprintf (TEXT("Target file is %s\n"), argv[1]);
    
       hFind = FindFirstFile(argv[1], &FindFileData);
       if (hFind == INVALID_HANDLE_VALUE) 
       {
              printf ("FindFirstFile failed (%d)\n", GetLastError());
              return -1;
       } 
       else 
       {
              _tprintf (TEXT("The first file found is %s\n"), 
                   FindFileData.cFileName);
    
              BOOL nextFile = FindNextFile(hFind, &FindFileData);
    
              while (nextFile)
              {
                   _tprintf (TEXT("The next file found is %s\n"), 
                             FindFileData.cFileName);
    
                   nextFile = FindNextFile(hFind, &FindFileData);
              }
    
              FindClose(hFind);
       }
    
       return 0;
    }
    

    OK, so what about the original example of FindFirstFile, if I try with 4.6 it does not work for me. I use 6 VC to create the application and then add it to the cmd project and then rebuild. I tried these combinations:

    App.exe \\.\pipe\* (this works)

    App.exe \\.\pipe\ (this does not work, in native mode as it does not work)

    App.exe //./pipe/* (this works)

    App.exe //./pipe/ (this does not work, in native mode as it does not work)

    can you tell me about the results you get when you try the above?

    Thank you.

  • How to make a list of all the missing files in a catalog in LR2?

    Is there an easy way to get a list of all the missing files for thumbnails in Lr2? I know that the symbol that appears in the upper right of any particular photo that does not contain the file, but how can I get a list of all these photos for a catalogue (or at least large chunks of a catalog).

    Thank you.

    You can click with the right button on a folder and choose synchronize - it has a button to display the missing files.

    John

Maybe you are looking for