Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1d02cc4a961b30b9d9ee062cc5269f08e66a94a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*******************************************************************************
 *  Copyright (c) 2011 GitHub Inc.
 *  All rights reserved. This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http://www.eclipse.org/legal/epl-v10.html
 *
 *  Contributors:
 *    Kevin Sawicki (GitHub Inc.) - initial API and implementation
 *******************************************************************************/
package org.eclipse.mylyn.github.internal;

/**
 * GitHub constants
 */
public interface IGitHubConstants {

	/**
	 * REPOS_SEGMENT
	 */
	String SEGMENT_REPOS = "/repos"; //$NON-NLS-1$

	/**
	 * SEGMENT_ISSUES
	 */
	String SEGMENT_ISSUES = "/issues"; //$NON-NLS-1$

	/**
	 * SEGMENT_COMMENTS
	 */
	String SEGMENT_COMMENTS = "/comments"; //$NON-NLS-1$

	/**
	 * SEGMENT_LABELS
	 */
	String SEGMENT_LABELS = "/labels"; //$NON-NLS-1$

	/**
	 * SEGMENT_MILESTONES
	 */
	String SEGMENT_MILESTONES = "/milestones"; //$NON-NLS-1$

	/**
	 * SUFFIX_JSON
	 */
	String SUFFIX_JSON = ".json"; //$NON-NLS-1$

	/**
	 * HOST_API
	 */
	String HOST_API = "api.github.com"; //$NON-NLS-1$

	/**
	 * PROTOCOL_HTTPS
	 */
	String PROTOCOL_HTTPS = "https"; //$NON-NLS-1$

	/**
	 * DATE_FORMAT
	 */
	String DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'"; //$NON-NLS-1$

	/**
	 * CONTENT_TYPE_JSON
	 */
	String CONTENT_TYPE_JSON = "application/json"; //$NON-NLS-1$

	/**
	 * CHARSET_UTF8
	 */
	String CHARSET_UTF8 = "UTF-8"; //$NON-NLS-1$

}

Back to the top