I have noticed when trying to use the RESTAPI to retrieve and update baslines, I am not able to access them from the /api/baselines/{site}/ or /api/baseline/{site}/{id} URL, but have to use /api/content/{site}/ or /api/fixlet/{site}/{id}
When I query /api/fixlets/{site}, no baselines show up, but when I query /api/content/{site} then baselines do show up. However the baselines in /api/content have resource identifier URLs that point to /api/baseline and have element tags of Unknown.
<?xml version="1.0" encoding="UTF-8"?>
<BESAPI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BESAPI.xsd">
<Analysis Resource="http://test:52311/api/analysis/custom/Scanners/15827" LastModified="Mon, 08 Dec 2014 19:24:35 +0000">
<Name>Scanner Analysis</Name>
<ID>15827</ID>
</Analysis>
<Unknown Resource="http://test:52311/api/baseline/custom/Scanners/15844" LastModified="Mon, 08 Dec 2014 21:22:50 +0000">
<Name>Scanner Baseline</Name>
<ID>15844</ID>
</Unknown>
</BESAPI>
Finally when creating baselines using the RESTAPI, posting the appropriate XML to either /api/baselines/{site}/ or /api/fixlets/{site}/ does not work, but you have to use /api/import/{site}/
Does anyone know what the heck is going on with Baselines? Am I working around the edge of some well documented strangeness? I am using version 9.1.1088.0 of the server.