blob: bfb9623a8e89462928cbdb5ac37244b3519d3722 [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2021 Boeing
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Boeing - initial API and implementation
**********************************************************************/
package org.eclipse.osee.mim;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.eclipse.osee.mim.types.GraphView;
/**
* @author Luciano T. Vaglienti
*/
@Path("graph")
public interface InterfaceGraphEndpoint {
@GET()
@Produces(MediaType.APPLICATION_JSON)
/**
* Gets all nodes and edges in two lists
*
* @return graph of all nodes/edges
*/
GraphView getAllNodesAndEdges();
}